GPTKB
Browse
Query
Compare
Download
Publications
Contributors
Search
CSS Variables (Custom Properties)
URI:
https://gptkb.org/entity/CSS_Variables_(Custom_Properties)
GPTKB entity
Statements (32)
Predicate
Object
gptkbp:instanceOf
gptkb:website
CSS feature
gptkbp:alsoKnownAs
CSS custom properties
gptkbp:canBeAnimated
false
gptkbp:canBeChangedWith
gptkb:JavaScript
gptkbp:canBeOverridden
in descendant selectors
gptkbp:cascades
true
gptkbp:compatibleWith
gptkb:Internet_Explorer
gptkbp:definedIn
gptkb:CSS_Custom_Properties_for_Cascading_Variables_Module_Level_1
gptkbp:distinctFrom
Less variables
Sass variables
gptkbp:dynamicAtRuntime
true
gptkbp:example
:root { --main-color: #06c; }
color: var(--main-color);
gptkbp:hasSyntax
--variable-name: value;
https://www.w3.org/2000/01/rdf-schema#label
CSS Variables (Custom Properties)
gptkbp:inheritsFrom
true
gptkbp:introducedIn
gptkb:CSS3
gptkbp:partOf
gptkb:CSSOM_(CSS_Object_Model)
gptkbp:scope
global
local
gptkbp:standardizedBy
gptkb:W3C
gptkbp:supportedBy
gptkb:Chrome_49
gptkb:Edge_15
gptkb:Firefox_31
gptkb:Safari_9.1
gptkbp:usedFor
reusability
theming
dynamic styling
gptkbp:uses
var(--variable-name)
gptkbp:bfsParent
gptkb:CSS_Working_Group_specifications
gptkbp:bfsLayer
7