-
- em |
-
- Font size of the parent, in the case of typographical properties like
- font-size , and font size of the element itself, in the case of other properties
- like width .
- |
-
-
- ex |
- x-height of the element's font. |
-
-
- ch |
-
- The advance measure (width) of the glyph "0" of the element's font.
- |
-
-
- rem |
- Font size of the root element. |
-
-
- lh |
- Line height of the element. |
-
-
- rlh |
- Line height of the root element. When used on the font-size or line-height properties of the root element, it refers to the properties' initial value. |
-
-
- vw |
- 1% of the viewport's width. |
-
-
- vh |
- 1% of the viewport's height. |
-
-
- vmin |
- 1% of the viewport's smaller dimension. |
-
-
- vmax |
- 1% of the viewport's larger dimension. |
-
-
- vb |
- 1% of the size of the initial containing block in the direction of the root element's block axis. |
-
-
- vi |
- 1% of the size of the initial containing block in the direction of the root element's inline axis. |
-
-
- svw, svh |
- 1% of the small viewport's width and height, respectively. |
-
-
- lvw, lvh |
- 1% of the large viewport's width and height, respectively. |
-
-
- dvw, dvh |
- 1% of the dynamic viewport's width and height, respectively. |
-
-
-