CSS Custom Variables and Dark Mode - CSS Tutorial for Beginners

CSS Custom Variables and Dark Mode - CSS Tutorial for Beginners

Dave Gray via YouTube Direct link

Apply colors with CSS variables

6 of 14

6 of 14

Apply colors with CSS variables

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. 1 Intro
  2. 2 Welcome
  3. 3 Why use CSS variables?
  4. 4 Starter Code
  5. 5 :root pseudo-class
  6. 6 Apply colors with CSS variables
  7. 7 Apply font styles with CSS variables
  8. 8 Nesting CSS variables
  9. 9 Adding more HTML content
  10. 10 Styling the main element
  11. 11 Order of operations
  12. 12 Styling the content with CSS variables
  13. 13 Redefining CSS variables
  14. 14 Create and apply a Dark Mode

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.