What is the Cascade Layers feature (@layer) in modern CSS designed to solve?
Correct! Well done.
Incorrect.
The correct answer is B) It lets developers explicitly define the priority order of groups of style rules (layers), so conflicts are resolved by layer order first, making it easier to manage styles from resets, frameworks, components, and overrides predictably
Correct Answer
It lets developers explicitly define the priority order of groups of style rules (layers), so conflicts are resolved by layer order first, making it easier to manage styles from resets, frameworks, components, and overrides predictably
Cascade layers let authors group rules and control their relative precedence independent of selector specificity or source order within a layer, helping manage conflicts between third-party CSS, resets, and custom styles.