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.

13m read time From ishadeed.com
Post cover image
Table of contents
IntroductionNaming variablesScopingProviding fallbackUse cases and examplesInline stylesInheritanceHow validation works for CSS variablesInteresting findingsDevtools and CSS variablesThe EndI’m writing an ebook
12 Comments

Sort: