CSSVariableReferenceValue: CSSVariableReferenceValue() constructor

Syntax

js
new CSSVariableReferenceValue(variable)
new CSSVariableReferenceValue(variable, fallback)

Parameters

Specifications

Specification
CSS Typed OM Level 1
# dom-cssvariablereferencevalue-cssvariablereferencevalue

Browser compatibility

BCD tables only load in the browser