CSSVariableReferenceValue: CSSVariableReferenceValue() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Creates a new CSSVariableReferenceValue.
Syntax
js
new CSSVariableReferenceValue(variable)
new CSSVariableReferenceValue(variable, fallback)
Parameters
Specifications
| Specification |
|---|
| CSS Typed OM Level 1 # dom-cssvariablereferencevalue-cssvariablereferencevalue |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSSVariableReferenceValue() constructor
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.