-
@ndorfin
:roothas uses and is useful. It’s only that it frequently appears to be used to target thehtmlelement. So this is not to say not to use:root, but to usehtmlwhen that is the element meant (or the only element to be selected).
:root has uses and is useful. It’s only that it frequently appears to be used to target the html element.
So this is not to say not to use :root, but to use html when that is the element meant (or the only element to be selected).