CSSVariableReferenceValue.variable
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
.
Value
A USVString
beginning with --
(that is, a custom property name).
Specifications
Specification |
---|
CSS Typed OM Level 2 # dom-cssvariablereferencevalue-variable |
Browser compatibility
BCD tables only load in the browser