October 2018
Intermediate to advanced
354 pages
6h 1m
English
For years, variables were one of the most commonly requested CSS features. Variables make it easier to manage colors, fonts, size, and animation values, and to ensure their consistency across a codebase.
It took years to work through the details of the syntax and decide how variables would fit into existing rules governing the cascade and inheritance. Now they’re available to developers in the form of CSS custom properties.
In this chapter, we’ll discuss the syntax of CSS custom properties. We’ll look at:
By the end, you should ...
Read now
Unlock full access