CSS variables

CSS variables give us lots of flexibility within our code, allow us to reduce duplication and enforce standards while still sitting within CSS’s cascade.


Creating variables

Using variables

Numerical variables with calc()


Variables & the cascade


Variables & media queries


Variables inside SVG spritesheets


Video list