Draft
This page is not complete.
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The variable
property of the
CSSVariableReferenceValue
interface returns the custom property name of the
CSSVariableReferenceValue
.
Syntax
var variable = cssVariableReferenceValue.variable;
Value
A USVString
beginning with --
(that is, a custom property name).
Specifications
Specification | Status | Comment |
---|---|---|
Unknown The definition of 'variable' in that specification. |
Working Draft |
Browser compatibility
BCD tables only load in the browser