Enumerator |
---|
centimeters | Defines a centimeters unit.
|
millimeters | Defines a millimeters unit.
|
inches | Defines a inches unit (1in = 96px = 2.54cm).
|
pixels | Defines pixels unit (1px = 1/96th of 1in).
|
points | Defines points unit (1pt = 1/72 of 1in).
|
picas | Defines a picas unit (1pc = 12 pt).
|
element | Defines a element unit. Relative to the font-size of the element (2em means 2 times the size of the current font).
|
element_x_height | Defines a element_x_height unit. Relative to the x-height of the current font (rarely used).
|
chase | Defines a chase unit. Relative to width of the "0" (zero).
|
root_element | Defines a root_element unit. Relative to font-size of the root elementRelative to font-size of the root element.
|
viewport_width | Defines a viewport_width unit. Relative to 1% of the width of the viewport.
|
viewport_height | Defines a viewport_height unit. Relative to 1% of the height of the viewport.
|
viewport_min | Defines a viewport_min unit. Relative to 1% of viewport's smaller dimension.
|
viewport_max | Defines a viewport_min unit. Relative to 1% of viewport's larger dimension.
|
percent | Defines a percent unit. Relative to the parent element.
|