Web features explorer

Cascade layers

Widely available since 2024-09-14
Tags: api css Groups: CSS

The @layer CSS at-rule avoids specificity conflicts by providing priority levels for different groups of CSS rules, such as low-priority styles like resets, and high-priority styles like UI components.

Learning resources on MDN

Browser support (view on caniuse.com)