Completed
:root pseudo-class
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
CSS Custom Variables and Dark Mode - CSS Tutorial for Beginners
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Welcome
- 3 Why use CSS variables?
- 4 Starter Code
- 5 :root pseudo-class
- 6 Apply colors with CSS variables
- 7 Apply font styles with CSS variables
- 8 Nesting CSS variables
- 9 Adding more HTML content
- 10 Styling the main element
- 11 Order of operations
- 12 Styling the content with CSS variables
- 13 Redefining CSS variables
- 14 Create and apply a Dark Mode