Easy Tutorial
❮ Pr Border Left Width Css3 Pr Hanging Punctuation ❯

CSS3 :root Selector

Complete CSS Selectors Reference

Example

Set the background color of the HTML document:


Definition and Usage

The :root selector matches the document's root element.

Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Selector
:root 4.0 9.0 3.5 3.2 9.6

Complete CSS Selectors Reference

❮ Pr Border Left Width Css3 Pr Hanging Punctuation ❯