Revision 71142 of :root

  • Revision slug: CSS/:root
  • Revision title: :root
  • Revision id: 71142
  • Created:
  • Creator: Jürgen Jeka
  • Is current revision? No
  • Comment 35 words added, 5 words removed

Revision Content

{{ CSSRef() }}


The :root pseudo-class represents the root element of a XML document. In HTML, :root is identical to HTML.


Browser compatibility

Browser Lowest Version
Internet Explorer n/a
Firefox 1.0
Opera 9.5
Safari 1.0

Revision Source

<p>{{ CSSRef() }}</p>
<h3 name="Summary">Summary</h3>
<p>The<code> :root </code>pseudo-class represents the root element of a XML document. In HTML,<code> :root </code>is identical to<code> HTML</code>.</p>
<h3 class="editable"><span>Specifications</span></h3>
<ul> <li><a class="external" href="" rel="external nofollow" target="_blank" title="">CSS 3 Selectors #root-pseudo</a></li>
<h3 name="Browser_compatibility">Browser compatibility</h3>
<table class="standard-table"> <tbody> <tr> <th>Browser</th> <th>Lowest Version</th> </tr> <tr> <td>Internet Explorer</td> <td>n/a</td> </tr> <tr> <td>Firefox</td> <td>1.0</td> </tr> <tr> <td>Opera</td> <td>9.5</td> </tr> <tr> <td>Safari</td> <td>1.0</td> </tr> </tbody>
Revert to this revision