CSS Variables 101
TLDRCSS Variables 101 CSS variables (AKA custom properties) have been supported in web browsers for almost four years. With CSS variables, this can be made much better like so.
Table of contents
IntroductionNaming variablesScopingProviding fallbackUse cases and examplesInline stylesInheritanceHow validation works for CSS variablesInteresting findingsDevtools and CSS variablesThe EndI’m writing an ebook12 Comments
Sort: