Menu Home

ex

osbo.com | CSS | Units | ex

The ex CSS unit specifies the length of the element relative to the x-height of the element.

The x-height is the height of a lowercase x.

Syntax

<number>ex

Examples

CSS

JS

Internal

ch

em

rem

External

World Wide Web Consortium (W3C)