MDN URL:
### What specific section or headline is this issue about?:
Precedence order of regular cascade layers
### What information was incorrect, unhelpful, or incomplete?
### What did you expect to see?
Hi there,
I’m newbie in terms of codding but active learner, so please apology for any mistake. This is only a question for better understanding.
So am l missing something here?
In the screenshot above, developer tools:
@layer A { h1 { box-shadow: -5px 5px lightblue !important; } }
…is overridden by unleyered h1:
h1 { box-shadow: 5px 5px lightgreen !important; }
…but at the end, layer A box-shadow still applied. By the screenshot bellow !important layered style have precedence over unleyered !important style. So where is the point?
Thank you and appreciate for any help.
Alex
Do you have any supporting links, references, or citations?
Do you have anything more you want to share?
No response