CSS Variables Scoping to Create and Theme Flexible UI Components

The real name of the CSS variables is CSS Custom Properties is a draft standard (yes, when I wrote these lines, it is on Candidate Recommendation Snapshot), but it is widely supported by modern browsers.

CSS variables allow us, like another kind of variable in another programming language, to store a value we can reuse across our document.

CategoriesUncategorizedTags