Pattern:
:root
Definition:
The :root pseudo-class matches an element which is the root of the document. It always represents the <html> element in HTML and XHTML.
Examples:
Style the HTML document
:root { font-size: larger; }
Pattern:
:root
Definition:
The :root pseudo-class matches an element which is the root of the document. It always represents the <html> element in HTML and XHTML.
Examples:
Style the HTML document
:root { font-size: larger; }
Designed by : w10schools
service@w10schools.com
Please login to continue.