Skip to main
Talk

When Variables Cascade

An exploration of CSS custom properties

The Cascade makes CSS unique as a language – forcing us to revisit even the most common programming feature: the variable.

We might think that CSS variables (custom properties) simply replace Sass or other pre-processors, but the reality is much more interesting. Cascading variables open up a range of new possibilities, and can even be turned back on the cascade itself! We’ll look at how cascading variables work, and a full range of practical use-cases that are totally unique to CSS.

Upcoming Workshop

Mia from behind,
standing at a laptop -
speaking to a conference audience
and gesturing to one side

Cascading Style Systems

A workshop on resilient & maintainable CSS

New CSS features are shipping at an unprecedented rate – cascade layers, container queries, the :has() selector, subgrid, nesting, and so much more. It’s a good time to step back and understand how these tools fit together in a declarative system – a resilient cascade of styles.

Register for the October workshop »

Events