Skip to content

Glossary: CSS Layout and Responsive Design

:root

Also written: root element

A pseudo-class matching the page's root element, `<html>`; the usual place to define variables so they're available everywhere.

Where the book teaches it

Related terms

Custom property (CSS variable)