CSS variables reference
11 August 2024 (Updated 11 August 2024)
On this page
Recipes
Define a global variable
Use a variable
Without a fallback:
With a fallback:
Other notes
- Variables can be overridden at a selector level in which case the override cascades downwards for all children elements too.
Tagged:
CSS
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment