Table of Contents

Method ResolveValue

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

ResolveValue(string, string)

Resolves all var() references in a CSS property value

public string ResolveValue(string value, string scopeName = null)

Parameters

value string

The CSS property value that may contain var() references

scopeName string

Optional scope name for variable lookup

Returns

string

The resolved value with all var() replaced, or original value if no var()