<percentage>

  • Revision slug: CSS/percentage
  • Revision title: percentage
  • Revision id: 69288
  • Created:
  • Creator: Mgjbot
  • Is current revision? No
  • Comment robot Adding: [[fr:CSS:pourcentage]] <<langbot>>

Revision Content

{{ CSSRef() }}

Summary

Many CSS properties take percentage values, such as {{ Cssxref("width") }}, {{ Cssxref("margin-top") }}, and {{ Cssxref("font-size") }}. The CSS syntax for percentage is a number followed immediately by a % (percentage sign).

Examples

Notes

Specifications

Browser compatibility

See also

{{ languages( { "fr": "fr/CSS/pourcentage" } ) }}

Revision Source

<p> {{ CSSRef() }}
</p>
<h3 name="Summary"> Summary </h3>
<p>Many <a href="en/CSS_Reference">CSS properties</a> take percentage values, such as {{ Cssxref("width") }}, {{ Cssxref("margin-top") }}, and {{ Cssxref("font-size") }}. The CSS syntax for percentage is a number followed immediately by a % (percentage sign).
</p>
<h3 name="Examples"> Examples </h3>
<h3 name="Notes"> Notes </h3>
<h3 name="Specifications"> Specifications </h3>
<ul><li> <a class="external" href="http://www.w3.org/TR/REC-CSS1#percentage-units">CSS 1</a>
</li><li> <a class="external" href="http://www.w3.org/TR/CSS21/syndata.html#percentage-units">CSS 2.1</a>
</li><li> <a class="external" href="http://www.w3.org/TR/css3-values/#percentages">css3-values</a>
</li></ul>
<h3 name="Browser_compatibility"> Browser compatibility </h3>
<h3 name="See_also"> See also </h3>
<div class="noinclude">
</div>
{{ languages( { "fr": "fr/CSS/pourcentage" } ) }}
Revert to this revision