Select html in CSS: which root selector to use
Five ways to target the root element in CSS: the plain html selector, :root, :scope, the top-level nesting ampersand, and structural tricks that can only match html. Which ones belong in production, and how their specificity differs.