Css Class
https://drafts.csswg.org/cssom/#namespacedef-css
public static class CssProperties
| Name | Description |
|---|---|
| AnimationWorklet | The animation worklet of the associated document of the current global object (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-css-animationworklet): see Document.AnimationWorklet. |
| Highlights | The highlight registry of the associated document of the current global object (https://drafts.csswg.org/css-highlight-api-1/#dom-css-highlights): see Document.Highlights. |
| LayoutWorklet | The layout worklet of the associated document of the current global object (https://drafts.css-houdini.org/css-layout-api-1/#dom-css-layoutworklet): see Document.LayoutWorklet. |
| PaintWorklet | The paint worklet of the associated document of the current global object (https://drafts.css-houdini.org/css-paint-api-1/#dom-css-paintworklet): see Document.PaintWorklet. |
AnimationWorklet
CssStyleSheet.csThe animation worklet of the associated document of the current global object (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-css-animationworklet): see Document.AnimationWorklet.
public static Worklet AnimationWorklet { get; }Property value
See also
Highlights
CssStyleSheet.csThe highlight registry of the associated document of the current global object (https://drafts.csswg.org/css-highlight-api-1/#dom-css-highlights): see Document.Highlights.
public static HighlightRegistry Highlights { get; }Property value
See also
LayoutWorklet
CssStyleSheet.csThe layout worklet of the associated document of the current global object (https://drafts.css-houdini.org/css-layout-api-1/#dom-css-layoutworklet): see Document.LayoutWorklet.
public static Worklet LayoutWorklet { get; }PaintWorklet
CssStyleSheet.csThe paint worklet of the associated document of the current global object (https://drafts.css-houdini.org/css-paint-api-1/#dom-css-paintworklet): see Document.PaintWorklet.
public static Worklet PaintWorklet { get; }Methods
| Name | Description |
|---|---|
| Cap(double) | Creates a CssUnitValue representing a length in cap units (cap height of the font) with the given value. |
| Ch(double) | Creates a CssUnitValue representing a length in ch units (advance of the zero glyph) with the given value. |
| Cm(double) | Creates a CssUnitValue representing a length in cm units (centimeters) with the given value. |
| Cqb(double) | Creates a CssUnitValue representing a length in cqb units (1% of the query container block-axis size) with the given value. |
| Cqh(double) | Creates a CssUnitValue representing a length in cqh units (1% of the query container height) with the given value. |
| Cqi(double) | Creates a CssUnitValue representing a length in cqi units (1% of the query container inline-axis size) with the given value. |
| Cqmax(double) | Creates a CssUnitValue representing a length in cqmax units (the larger of cqi and cqb) with the given value. |
| Cqmin(double) | Creates a CssUnitValue representing a length in cqmin units (the smaller of cqi and cqb) with the given value. |
| Cqw(double) | Creates a CssUnitValue representing a length in cqw units (1% of the query container width) with the given value. |
| Deg(double) | Creates a CssUnitValue representing an angle in deg units (degrees) with the given value. |
| Dpcm(double) | Creates a CssUnitValue representing a resolution in dpcm units (dots per centimeter) with the given value. |
| Dpi(double) | Creates a CssUnitValue representing a resolution in dpi units (dots per inch) with the given value. |
| Dppx(double) | Creates a CssUnitValue representing a resolution in dppx units (dots per pixel) with the given value. |
| Dvb(double) | Creates a CssUnitValue representing a length in dvb units (1% of the dynamic viewport block-axis size) with the given value. |
| Dvh(double) | Creates a CssUnitValue representing a length in dvh units (1% of the dynamic viewport height) with the given value. |
| Dvi(double) | Creates a CssUnitValue representing a length in dvi units (1% of the dynamic viewport inline-axis size) with the given value. |
| Dvmax(double) | Creates a CssUnitValue representing a length in dvmax units (the larger of dvw and dvh) with the given value. |
| Dvmin(double) | Creates a CssUnitValue representing a length in dvmin units (the smaller of dvw and dvh) with the given value. |
| Dvw(double) | Creates a CssUnitValue representing a length in dvw units (1% of the dynamic viewport width) with the given value. |
| Em(double) | Creates a CssUnitValue representing a length in em units (font size) with the given value. |
| Escape(string) | https://drafts.csswg.org/cssom/#dom-css-escape |
| Ex(double) | Creates a CssUnitValue representing a length in ex units (x-height of the font) with the given value. |
| Fr(double) | Creates a CssUnitValue representing a flexible length in fr units (fractions of the free space of a grid) with the given value. |
| Grad(double) | Creates a CssUnitValue representing an angle in grad units (gradians) with the given value. |
| Hz(double) | Creates a CssUnitValue representing a frequency in Hz units (hertz) with the given value. |
| Ic(double) | Creates a CssUnitValue representing a length in ic units (advance of the water ideograph) with the given value. |
| In(double) | Creates a CssUnitValue representing a length in in units (inches) with the given value. |
| KHz(double) | Creates a CssUnitValue representing a frequency in kHz units (kilohertz) with the given value. |
| Lh(double) | Creates a CssUnitValue representing a length in lh units (line height) with the given value. |
| Lvb(double) | Creates a CssUnitValue representing a length in lvb units (1% of the large viewport block-axis size) with the given value. |
| Lvh(double) | Creates a CssUnitValue representing a length in lvh units (1% of the large viewport height) with the given value. |
| Lvi(double) | Creates a CssUnitValue representing a length in lvi units (1% of the large viewport inline-axis size) with the given value. |
| Lvmax(double) | Creates a CssUnitValue representing a length in lvmax units (the larger of lvw and lvh) with the given value. |
| Lvmin(double) | Creates a CssUnitValue representing a length in lvmin units (the smaller of lvw and lvh) with the given value. |
| Lvw(double) | Creates a CssUnitValue representing a length in lvw units (1% of the large viewport width) with the given value. |
| Mm(double) | Creates a CssUnitValue representing a length in mm units (millimeters) with the given value. |
| Ms(double) | Creates a CssUnitValue representing a time in ms units (milliseconds) with the given value. |
| Number(double) | Creates a CssUnitValue representing a number (unitless) with the given value. |
| ParseCommaValueList(string) | Parses a comma-separated list of component values (https://wicg.github.io/css-parser-api/#dom-css-parsecommavaluelist, https://drafts.csswg.org/css-syntax-3/#parse-comma-separated-list-of-component-values): the component values between the top-level commas, whitespace included (a trailing comma does not start an empty group). |
| ParseDeclaration(string, CssParserOptions?) | Parses a single declaration (https://wicg.github.io/css-parser-api/#dom-css-parsedeclaration, https://drafts.csswg.org/css-syntax-3/#parse-declaration), e.g. color: red !important. |
| ParseDeclarationList(string, CssParserOptions?) | Parses a list of declarations (https://wicg.github.io/css-parser-api/#dom-css-parsedeclarationlist, https://drafts.csswg.org/css-syntax-3/#parse-list-of-declarations): the CssParserDeclaration objects; the at-rules and the invalid declarations are dropped. The task is completed when the method returns. |
| ParseRule(string, CssParserOptions?) | Parses a single rule (https://wicg.github.io/css-parser-api/#dom-css-parserule, https://drafts.csswg.org/css-syntax-3/#parse-rule): the task fails with a SyntaxError DomException when the input is empty, is not a valid rule or contains more than a rule. |
| ParseRuleList(string, CssParserOptions?) | Parses a list of rules (https://wicg.github.io/css-parser-api/#dom-css-parserulelist, https://drafts.csswg.org/css-syntax-3/#parse-stylesheet-contents). The task is completed when the method returns. |
| ParseStylesheet(string, CssParserOptions?) | Parses a style sheet (https://wicg.github.io/css-parser-api/#dom-css-parsestylesheet, https://drafts.csswg.org/css-syntax-3/#parse-stylesheet): its rules. The task is completed when the method returns. |
| ParseValue(string) | Parses a single component value (https://wicg.github.io/css-parser-api/#dom-css-parsevalue, https://drafts.csswg.org/css-syntax-3/#parse-component-value), surrounded by optional whitespace. |
| ParseValueList(string) | Parses a list of component values (https://wicg.github.io/css-parser-api/#dom-css-parsevaluelist, https://drafts.csswg.org/css-syntax-3/#parse-list-of-component-values), whitespace included. |
| Pc(double) | Creates a CssUnitValue representing a length in pc units (picas) with the given value. |
| Percent(double) | Creates a CssUnitValue representing a percentage (%) with the given value. |
| Pt(double) | Creates a CssUnitValue representing a length in pt units (points) with the given value. |
| Px(double) | Creates a CssUnitValue representing a length in px units (pixels) with the given value. |
| Q(double) | Creates a CssUnitValue representing a length in Q units (quarter-millimeters) with the given value. |
| Rad(double) | Creates a CssUnitValue representing an angle in rad units (radians) with the given value. |
| Rcap(double) | Creates a CssUnitValue representing a length in rcap units (cap height of the root element font) with the given value. |
| Rch(double) | Creates a CssUnitValue representing a length in rch units (zero glyph advance of the root element font) with the given value. |
| RegisterProperty(PropertyDefinition) | Registers a custom property in the document of the current global object (https://drafts.css-houdini.org/css-properties-values-api/#dom-css-registerproperty). |
| RegisterProperty(Document, PropertyDefinition) | Registers a custom property in a document (https://drafts.css-houdini.org/css-properties-values-api/#register-a-custom-property). |
| Rem(double) | Creates a CssUnitValue representing a length in rem units (font size of the root element) with the given value. |
| Rex(double) | Creates a CssUnitValue representing a length in rex units (x-height of the root element font) with the given value. |
| Ric(double) | Creates a CssUnitValue representing a length in ric units (water ideograph advance of the root element font) with the given value. |
| Rlh(double) | Creates a CssUnitValue representing a length in rlh units (line height of the root element) with the given value. |
| S(double) | Creates a CssUnitValue representing a time in s units (seconds) with the given value. |
| Supports(string) | https://drafts.csswg.org/css-conditional-3/#dom-css-supports-conditiontext |
| Supports(string, string) | https://drafts.csswg.org/css-conditional-3/#dom-css-supports |
| Svb(double) | Creates a CssUnitValue representing a length in svb units (1% of the small viewport block-axis size) with the given value. |
| Svh(double) | Creates a CssUnitValue representing a length in svh units (1% of the small viewport height) with the given value. |
| Svi(double) | Creates a CssUnitValue representing a length in svi units (1% of the small viewport inline-axis size) with the given value. |
| Svmax(double) | Creates a CssUnitValue representing a length in svmax units (the larger of svw and svh) with the given value. |
| Svmin(double) | Creates a CssUnitValue representing a length in svmin units (the smaller of svw and svh) with the given value. |
| Svw(double) | Creates a CssUnitValue representing a length in svw units (1% of the small viewport width) with the given value. |
| Turn(double) | Creates a CssUnitValue representing an angle in turn units (turns) with the given value. |
| Vb(double) | Creates a CssUnitValue representing a length in vb units (1% of the viewport size in the block axis) with the given value. |
| Vh(double) | Creates a CssUnitValue representing a length in vh units (1% of the viewport height) with the given value. |
| Vi(double) | Creates a CssUnitValue representing a length in vi units (1% of the viewport size in the inline axis) with the given value. |
| Vmax(double) | Creates a CssUnitValue representing a length in vmax units (the larger of vw and vh) with the given value. |
| Vmin(double) | Creates a CssUnitValue representing a length in vmin units (the smaller of vw and vh) with the given value. |
| Vw(double) | Creates a CssUnitValue representing a length in vw units (1% of the viewport width) with the given value. |
Cap(double)
Css.Factories.csCreates a CssUnitValue representing a length in cap units (cap height of the font) with the given value.
public static CssUnitValue Cap(double value)Ch(double)
Css.Factories.csCreates a CssUnitValue representing a length in ch units (advance of the zero glyph) with the given value.
public static CssUnitValue Ch(double value)Cm(double)
Css.Factories.csCreates a CssUnitValue representing a length in cm units (centimeters) with the given value.
public static CssUnitValue Cm(double value)Cqb(double)
Css.Factories.csCreates a CssUnitValue representing a length in cqb units (1% of the query container block-axis size) with the given value.
public static CssUnitValue Cqb(double value)Cqh(double)
Css.Factories.csCreates a CssUnitValue representing a length in cqh units (1% of the query container height) with the given value.
public static CssUnitValue Cqh(double value)Cqi(double)
Css.Factories.csCreates a CssUnitValue representing a length in cqi units (1% of the query container inline-axis size) with the given value.
public static CssUnitValue Cqi(double value)Cqmax(double)
Css.Factories.csCreates a CssUnitValue representing a length in cqmax units (the larger of cqi and cqb) with the given value.
public static CssUnitValue Cqmax(double value)Cqmin(double)
Css.Factories.csCreates a CssUnitValue representing a length in cqmin units (the smaller of cqi and cqb) with the given value.
public static CssUnitValue Cqmin(double value)Cqw(double)
Css.Factories.csCreates a CssUnitValue representing a length in cqw units (1% of the query container width) with the given value.
public static CssUnitValue Cqw(double value)Deg(double)
Css.Factories.csCreates a CssUnitValue representing an angle in deg units (degrees) with the given value.
public static CssUnitValue Deg(double value)Dpcm(double)
Css.Factories.csCreates a CssUnitValue representing a resolution in dpcm units (dots per centimeter) with the given value.
public static CssUnitValue Dpcm(double value)Dpi(double)
Css.Factories.csCreates a CssUnitValue representing a resolution in dpi units (dots per inch) with the given value.
public static CssUnitValue Dpi(double value)Dppx(double)
Css.Factories.csCreates a CssUnitValue representing a resolution in dppx units (dots per pixel) with the given value.
public static CssUnitValue Dppx(double value)Dvb(double)
Css.Factories.csCreates a CssUnitValue representing a length in dvb units (1% of the dynamic viewport block-axis size) with the given value.
public static CssUnitValue Dvb(double value)Dvh(double)
Css.Factories.csCreates a CssUnitValue representing a length in dvh units (1% of the dynamic viewport height) with the given value.
public static CssUnitValue Dvh(double value)Dvi(double)
Css.Factories.csCreates a CssUnitValue representing a length in dvi units (1% of the dynamic viewport inline-axis size) with the given value.
public static CssUnitValue Dvi(double value)Dvmax(double)
Css.Factories.csCreates a CssUnitValue representing a length in dvmax units (the larger of dvw and dvh) with the given value.
public static CssUnitValue Dvmax(double value)Dvmin(double)
Css.Factories.csCreates a CssUnitValue representing a length in dvmin units (the smaller of dvw and dvh) with the given value.
public static CssUnitValue Dvmin(double value)Dvw(double)
Css.Factories.csCreates a CssUnitValue representing a length in dvw units (1% of the dynamic viewport width) with the given value.
public static CssUnitValue Dvw(double value)Em(double)
Css.Factories.csCreates a CssUnitValue representing a length in em units (font size) with the given value.
public static CssUnitValue Em(double value)Escape(string)
CssStyleSheet.cshttps://drafts.csswg.org/cssom/#dom-css-escape
Ex(double)
Css.Factories.csCreates a CssUnitValue representing a length in ex units (x-height of the font) with the given value.
public static CssUnitValue Ex(double value)Fr(double)
Css.Factories.csCreates a CssUnitValue representing a flexible length in fr units (fractions of the free space of a grid) with the given value.
public static CssUnitValue Fr(double value)Grad(double)
Css.Factories.csCreates a CssUnitValue representing an angle in grad units (gradians) with the given value.
public static CssUnitValue Grad(double value)Hz(double)
Css.Factories.csCreates a CssUnitValue representing a frequency in Hz units (hertz) with the given value.
public static CssUnitValue Hz(double value)Ic(double)
Css.Factories.csCreates a CssUnitValue representing a length in ic units (advance of the water ideograph) with the given value.
public static CssUnitValue Ic(double value)In(double)
Css.Factories.csCreates a CssUnitValue representing a length in in units (inches) with the given value.
public static CssUnitValue In(double value)KHz(double)
Css.Factories.csCreates a CssUnitValue representing a frequency in kHz units (kilohertz) with the given value.
public static CssUnitValue KHz(double value)Lh(double)
Css.Factories.csCreates a CssUnitValue representing a length in lh units (line height) with the given value.
public static CssUnitValue Lh(double value)Lvb(double)
Css.Factories.csCreates a CssUnitValue representing a length in lvb units (1% of the large viewport block-axis size) with the given value.
public static CssUnitValue Lvb(double value)Lvh(double)
Css.Factories.csCreates a CssUnitValue representing a length in lvh units (1% of the large viewport height) with the given value.
public static CssUnitValue Lvh(double value)Lvi(double)
Css.Factories.csCreates a CssUnitValue representing a length in lvi units (1% of the large viewport inline-axis size) with the given value.
public static CssUnitValue Lvi(double value)Lvmax(double)
Css.Factories.csCreates a CssUnitValue representing a length in lvmax units (the larger of lvw and lvh) with the given value.
public static CssUnitValue Lvmax(double value)Lvmin(double)
Css.Factories.csCreates a CssUnitValue representing a length in lvmin units (the smaller of lvw and lvh) with the given value.
public static CssUnitValue Lvmin(double value)Lvw(double)
Css.Factories.csCreates a CssUnitValue representing a length in lvw units (1% of the large viewport width) with the given value.
public static CssUnitValue Lvw(double value)Mm(double)
Css.Factories.csCreates a CssUnitValue representing a length in mm units (millimeters) with the given value.
public static CssUnitValue Mm(double value)Ms(double)
Css.Factories.csCreates a CssUnitValue representing a time in ms units (milliseconds) with the given value.
public static CssUnitValue Ms(double value)Number(double)
Css.Factories.csCreates a CssUnitValue representing a number (unitless) with the given value.
public static CssUnitValue Number(double value)ParseCommaValueList(string)
Css.ParserApi.csParses a comma-separated list of component values (https://wicg.github.io/css-parser-api/#dom-css-parsecommavaluelist, https://drafts.csswg.org/css-syntax-3/#parse-comma-separated-list-of-component-values): the component values between the top-level commas, whitespace included (a trailing comma does not start an empty group).
public static IReadOnlyList<IReadOnlyList<CssParserToken>> ParseCommaValueList(string css)ParseDeclaration(string, CssParserOptions?)
Css.ParserApi.csParses a single declaration (https://wicg.github.io/css-parser-api/#dom-css-parsedeclaration, https://drafts.csswg.org/css-syntax-3/#parse-declaration), e.g. color: red !important.
public static CssParserDeclaration ParseDeclaration(string css, CssParserOptions? options = null)Parameters
cssstringoptionsCssParserOptions?
Returns
Exceptions
DomException- The input is not a declaration, or contains more than a declaration (e.g. a trailing semicolon) (SyntaxError).
TypeErrorException- A value of
CssParserOptions.AtRulesis not a block production.
See also
ParseDeclarationList(string, CssParserOptions?)
Css.ParserApi.csParses a list of declarations (https://wicg.github.io/css-parser-api/#dom-css-parsedeclarationlist, https://drafts.csswg.org/css-syntax-3/#parse-list-of-declarations): the CssParserDeclaration objects; the at-rules and the invalid declarations are dropped. The task is completed when the method returns.
public static Task<IReadOnlyList<CssParserRule>> ParseDeclarationList(string css, CssParserOptions? options = null)Parameters
cssstringoptionsCssParserOptions?
Returns
Task<IReadOnlyList<CssParserRule>>
Exceptions
TypeErrorException- A value of
CssParserOptions.AtRulesis not a block production.
See also
ParseRule(string, CssParserOptions?)
Css.ParserApi.csParses a single rule (https://wicg.github.io/css-parser-api/#dom-css-parserule, https://drafts.csswg.org/css-syntax-3/#parse-rule): the task fails with a SyntaxError DomException when the input is empty, is not a valid rule or contains more than a rule.
public static Task<CssParserRule> ParseRule(string css, CssParserOptions? options = null)Parameters
cssstringoptionsCssParserOptions?
Returns
Exceptions
TypeErrorException- A value of
CssParserOptions.AtRulesis not a block production.
See also
ParseRuleList(string, CssParserOptions?)
Css.ParserApi.csParses a list of rules (https://wicg.github.io/css-parser-api/#dom-css-parserulelist, https://drafts.csswg.org/css-syntax-3/#parse-stylesheet-contents). The task is completed when the method returns.
public static Task<IReadOnlyList<CssParserRule>> ParseRuleList(string css, CssParserOptions? options = null)Parameters
cssstringoptionsCssParserOptions?
Returns
Task<IReadOnlyList<CssParserRule>>
Exceptions
TypeErrorException- A value of
CssParserOptions.AtRulesis not a block production.
See also
ParseStylesheet(string, CssParserOptions?)
Css.ParserApi.csParses a style sheet (https://wicg.github.io/css-parser-api/#dom-css-parsestylesheet, https://drafts.csswg.org/css-syntax-3/#parse-stylesheet): its rules. The task is completed when the method returns.
public static Task<IReadOnlyList<CssParserRule>> ParseStylesheet(string css, CssParserOptions? options = null)Parameters
cssstringoptionsCssParserOptions?
Returns
Task<IReadOnlyList<CssParserRule>>
Exceptions
TypeErrorException- A value of
CssParserOptions.AtRulesis not a block production.
See also
ParseValue(string)
Css.ParserApi.csParses a single component value (https://wicg.github.io/css-parser-api/#dom-css-parsevalue, https://drafts.csswg.org/css-syntax-3/#parse-component-value), surrounded by optional whitespace.
public static CssParserToken ParseValue(string css)Parameters
cssstring
Returns
Exceptions
DomException- The input is empty or contains more than a component value (SyntaxError).
See also
ParseValueList(string)
Css.ParserApi.csParses a list of component values (https://wicg.github.io/css-parser-api/#dom-css-parsevaluelist, https://drafts.csswg.org/css-syntax-3/#parse-list-of-component-values), whitespace included.
public static IReadOnlyList<CssParserToken> ParseValueList(string css)Pc(double)
Css.Factories.csCreates a CssUnitValue representing a length in pc units (picas) with the given value.
public static CssUnitValue Pc(double value)Percent(double)
Css.Factories.csCreates a CssUnitValue representing a percentage (%) with the given value.
public static CssUnitValue Percent(double value)Pt(double)
Css.Factories.csCreates a CssUnitValue representing a length in pt units (points) with the given value.
public static CssUnitValue Pt(double value)Px(double)
Css.Factories.csCreates a CssUnitValue representing a length in px units (pixels) with the given value.
public static CssUnitValue Px(double value)Q(double)
Css.Factories.csCreates a CssUnitValue representing a length in Q units (quarter-millimeters) with the given value.
public static CssUnitValue Q(double value)Rad(double)
Css.Factories.csCreates a CssUnitValue representing an angle in rad units (radians) with the given value.
public static CssUnitValue Rad(double value)Rcap(double)
Css.Factories.csCreates a CssUnitValue representing a length in rcap units (cap height of the root element font) with the given value.
public static CssUnitValue Rcap(double value)Rch(double)
Css.Factories.csCreates a CssUnitValue representing a length in rch units (zero glyph advance of the root element font) with the given value.
public static CssUnitValue Rch(double value)RegisterProperty overloads
RegisterProperty(PropertyDefinition)
PropertyDefinition.csRegisters a custom property in the document of the current global object (https://drafts.css-houdini.org/css-properties-values-api/#dom-css-registerproperty).
public static void RegisterProperty(PropertyDefinition definition)Parameters
definitionPropertyDefinition
Exceptions
DomException- The name or the syntax is invalid, the initial value does not match the syntax (SyntaxError), or the property is already registered (InvalidModificationError).
See also
RegisterProperty(Document, PropertyDefinition)
PropertyDefinition.csRegisters a custom property in a document (https://drafts.css-houdini.org/css-properties-values-api/#register-a-custom-property).
public static void RegisterProperty(Document document, PropertyDefinition definition)Parameters
documentDocumentdefinitionPropertyDefinition
Exceptions
DomException- The name or the syntax is invalid, the initial value does not match the syntax (SyntaxError), or the property is already registered (InvalidModificationError).
Rem(double)
Css.Factories.csCreates a CssUnitValue representing a length in rem units (font size of the root element) with the given value.
public static CssUnitValue Rem(double value)Rex(double)
Css.Factories.csCreates a CssUnitValue representing a length in rex units (x-height of the root element font) with the given value.
public static CssUnitValue Rex(double value)Ric(double)
Css.Factories.csCreates a CssUnitValue representing a length in ric units (water ideograph advance of the root element font) with the given value.
public static CssUnitValue Ric(double value)Rlh(double)
Css.Factories.csCreates a CssUnitValue representing a length in rlh units (line height of the root element) with the given value.
public static CssUnitValue Rlh(double value)S(double)
Css.Factories.csCreates a CssUnitValue representing a time in s units (seconds) with the given value.
public static CssUnitValue S(double value)Supports overloads
Supports(string)
CssStyleSheet.cshttps://drafts.csswg.org/css-conditional-3/#dom-css-supports-conditiontext
Supports(string, string)
CssStyleSheet.csSvb(double)
Css.Factories.csCreates a CssUnitValue representing a length in svb units (1% of the small viewport block-axis size) with the given value.
public static CssUnitValue Svb(double value)Svh(double)
Css.Factories.csCreates a CssUnitValue representing a length in svh units (1% of the small viewport height) with the given value.
public static CssUnitValue Svh(double value)Svi(double)
Css.Factories.csCreates a CssUnitValue representing a length in svi units (1% of the small viewport inline-axis size) with the given value.
public static CssUnitValue Svi(double value)Svmax(double)
Css.Factories.csCreates a CssUnitValue representing a length in svmax units (the larger of svw and svh) with the given value.
public static CssUnitValue Svmax(double value)Svmin(double)
Css.Factories.csCreates a CssUnitValue representing a length in svmin units (the smaller of svw and svh) with the given value.
public static CssUnitValue Svmin(double value)Svw(double)
Css.Factories.csCreates a CssUnitValue representing a length in svw units (1% of the small viewport width) with the given value.
public static CssUnitValue Svw(double value)Turn(double)
Css.Factories.csCreates a CssUnitValue representing an angle in turn units (turns) with the given value.
public static CssUnitValue Turn(double value)Vb(double)
Css.Factories.csCreates a CssUnitValue representing a length in vb units (1% of the viewport size in the block axis) with the given value.
public static CssUnitValue Vb(double value)Vh(double)
Css.Factories.csCreates a CssUnitValue representing a length in vh units (1% of the viewport height) with the given value.
public static CssUnitValue Vh(double value)Vi(double)
Css.Factories.csCreates a CssUnitValue representing a length in vi units (1% of the viewport size in the inline axis) with the given value.
public static CssUnitValue Vi(double value)Vmax(double)
Css.Factories.csCreates a CssUnitValue representing a length in vmax units (the larger of vw and vh) with the given value.
public static CssUnitValue Vmax(double value)Vmin(double)
Css.Factories.csCreates a CssUnitValue representing a length in vmin units (the smaller of vw and vh) with the given value.
public static CssUnitValue Vmin(double value)Vw(double)
Css.Factories.csCreates a CssUnitValue representing a length in vw units (1% of the viewport width) with the given value.
public static CssUnitValue Vw(double value)