Cascading Style Sheets are a way to describe the presentation of a web page. It’s one of the core technologies of modern web development, alongside HTML and JavaScript.

Sub-pages

Classes

Pseudo-classes function similarly to classes without explicitly being declared in the HTML document. All pseudo-classes are prefixed by a : to distinguish from regular classes:

  • :root applies to the root element of the document. This is usually html (so they function the same).