: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() }}

Summary

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

Specifications

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="http://www.w3.org/TR/css3-selectors/#root-pseudo" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/css3-selectors/#root-pseudo">CSS 3 Selectors #root-pseudo</a></li>
</ul>
<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>
</table>
Revert to this revision