mozilla

Revision 69289 of <percentage>

  • Revision slug: CSS/percentage
  • Revision title: percentage
  • Revision id: 69289
  • Created:
  • Creator: myakura
  • Is current revision? No
  • Comment We don't need need to refer CSS1 and CSS3 since both refers to the definition in CSS2; 5 words removed

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/CSS2/syndata.html#percentage-units">CSS 2.1</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