Revision 69287 of <percentage>

  • Revision slug: CSS/percentage
  • Revision title: percentage
  • Revision id: 69287
  • Created:
  • Creator: BijuGC
  • Is current revision? No
  • Comment new page

Revision Content

{{template.CSSRef()}}

Summary

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

Examples

Notes

Specifications

Browser compatibility

See also

Revision Source

<p> 
{{template.CSSRef()}}
</p>
<h3 name="Summary"> Summary </h3>
<p>Many <a href="en/CSS_Reference">CSS properties</a> take percentage values, such as {{template.Cssxref("width")}}, {{template.Cssxref("margin-top")}}, and {{template.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>
Revert to this revision