[]
        
(Showing Draft Content)

C1.Blazor.Core.C1StyleLengthUnit

C1StyleLengthUnit Enum

Units that can be used to express a C1StyleLength.

Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public enum C1StyleLengthUnit
Public Enum C1StyleLengthUnit

Fields

Name Description
CH

Relative to width of the "0" (zero)

CM

Centimeters

EM

Relative to the font-size of the element (2em means 2 times the size of the current font)

EX

Relative to the x-height of the current font (rarely used)

IN

Inches (1in = 96px = 2.54cm)

MM

Millimeters

PC

Picas (1pc = 12 pt)

PERCENTAGE

Relative to the parent element

PT

Points (1pt = 1 / 72 of 1in)

PX

Pixels (1px = 1 / 96th of 1in)

REM

Relative to font-size of the root element

VH

Relative to 1% of the height of the viewport*

VMAX

Relative to 1% of viewport's* larger dimension

VMIN

Relative to 1% of viewport's* smaller dimension

VW

Relative to 1% of the width of the viewport*