CSSVariableReferenceValue()
Draft
This page is not complete.
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Creates a new CSSVariableReferenceValue
.
Syntax
new CSSVariableReferenceValue(variable[, fallback]])
Parameters
- variable
- fallback
-
Optional. A custom property fallback value.
Specifications
Specification | Status | Comment |
---|---|---|
CSS Typed OM Level 1 The definition of 'CSSVariableReferenceValue()' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
BCD tables only load in the browser
- variable
-
A CSS custom property
- fallback
-
Optional. A custom property fallback value.