Custom Properties (CSS Variables): The Token System Every Project Needs
Use CSS custom properties as design tokens: primitive, semantic and component tiers, dark mode, @property, fallbacks, and the…
Tag
18 articles
Use CSS custom properties as design tokens: primitive, semantic and component tiers, dark mode, @property, fallbacks, and the…
Advanced CSS selectors explained: the four combinators, attribute operators, structural and form pseudo-classes, and :is(), :where() and :not().
The CSS box model explained: box-sizing, margin collapse, display types, formatting contexts, containing blocks, and a fix for…
CSS cascade specificity inheritance explained: how the browser sorts declarations, scores selectors, and falls back when nothing matches.