Day 74: using !important in cascade layers

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
In order to understand how !important works in cascade layers, you have to understand how !important works generally. The conclusion of this post might not be what you expect. .sample1 h1 { color: green; } .sample1 h1 { color: red; } .sample2 h1 { color: green !important; } .sample2 h1 { color: red; } @layer base...