Enum Unit

Namespace: EPiServer.CssParsing
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public enum Unit

Fields

Name Description
CH

The width of the "0" (ZERO, U+0030) glyph found in the font for the font size used to render. If the "0" glyph is not found in the font, the average character width may be used. How is the "average character width" found?

CM
Deg

degrees

EM

the font size of the element (or, to the parent element's font size if set on the 'font-size' property)

EX

the x-height of the element's font

GD

the grid defined by 'layout-grid' described in the CSS3 Text module [CSS3TEXT]

Grad

grads

HZ
In
Khz
MM
MS
None
PC
Percent
PT
PX

viewing device

Rad

radians

Rem

the font size of the root element

S
Turn

turns

VH

the viewport's height

VM

the viewport's height or width, whichever is smaller of the two

VW

the viewport's width