Table of Contents

Method DefineGlobalVariable

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

DefineGlobalVariable(string, string)

Defines a custom property (CSS variable) in the global scope

public void DefineGlobalVariable(string variableName, string value)

Parameters

variableName string

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

value string

The variable value