The CSS Podcast cover image

58: Cascade layers

The CSS Podcast

00:00

The Basics of Cascade Layers

At layer, if you add a couple layers in, you can add those paragraph styles within a context. It's all about that style orchestration. The order of appearance of layers is important as it defines layer resolution priority. Things that are higher in the stack will win over things that are lower in the stack. And then pseudo classes like focus visible, like open props recently had a need to use layers so they could be easier to override.

Play episode from 02:58
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app