Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardCSSlayer cascade layersSingle-choice MCQ

Nested layers create a tree of layer names. When sorting two declarations that live in sibling sub-layers under different parent layers, how does the engine compare them?

@layer outerA, outerB; @layer outerA { @layer child { a { color: red; } } } @layer outerB { @layer child { a { color: blue; } } }