Table of Contents

Class CssVariableReference

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

Represents a CSS variable reference (var() expression)

public class CssVariableReference
Inheritance
CssVariableReference
Inherited Members

Constructors

CssVariableReference(string, string, string)

Properties

FallbackValue

Optional fallback value for the variable

OriginalExpression

The original var() expression

ScopeName

Optional scope name for scoped variable lookup

VariableName

The variable name (e.g., "--my-color")

Methods

Parse(string)

Parses a CSS var() expression

ToString()

Gets the textual representation of this variable reference