Day 46: ordering layers

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
By default, cascade layers are stacked in the order they are defined, but you don’t have to rely on it. You can determine the order in one place.In the following example, the border color of the paragraph is first red, then blue, then rebeccapurple, and finally green. @layer base { p { border: 10px solid red; } } @layer framework { p...