Skip to content

MediumConceptModern CSS

What are CSS cascade layers?

What a good answer covers

@layer lets you declare ordered groups of rules so a layer's priority is decided by layer order rather than specificity, which makes third-party and base styles easy to override.

More on Modern CSS

Flashcards for this topic