CSS Pseudo-class :root
This pseudo-class selects the root-element. In HTML and XHTML it's always <html>. In XML-Formats the root-element can have any name. That's why we need a root selector.
Examples
Compatibility
| Chrome | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|
| All | All | 9+ | All | All |