-
autiomaa smashingmag
:root
andhtml
are more comparable - but:root
has higher specificity. The article covers that, as well as the difference between usinghtml
/:root
(inherited) vs*
(universal) to define variables. See the "inherited vs universal" section. -
autiomaa smashingmag Both are useful, and I use both - but they have different results.