Pseudo-class:
root

Support Key: [NS6]
Other Document-Tree
Pseudo-Classes

empty
not
first-child
first-node
last-child
last-node
lang
= Index DOT Css by Brian Wilson =
Main Index | Property Index | CSS Support History | Browser History



   Quick Statistics   
Applicable Elements:
HTML
HTML Equivalent:
NA
What is it?
This Pseudo-class is calculated from the document tree - it indicates the top-level of a document. In the case of HTML, it will be the HTML element itself, but this is entirely dependent on the name of the root node in other XML grammars.
Example
Ext/Doc: :root { border: thick solid green }
In-Line:  NA
Browser Peculiarities

Boring Copyright Stuff....