Day 102: selecting the scoping root

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
There are different ways of selecting the scoping root inside a @scope rule.When you use the :scope pseudo-class in a stylesheet, it matches the :root element. :root { border: 10px solid red; } :scope { border-color: blue; } /* -> 10px blue border on the element */ When you use it inside a scope rule, it matches the rule's scoping...