CSS Custom Variables and Dark Mode - CSS Tutorial for Beginners
Offered By: Dave Gray via YouTube
Course Description
Overview
Explore CSS custom variables and implement a dark mode in this beginner-friendly tutorial. Learn how to use the :root pseudo-class, apply colors and font styles with CSS variables, nest variables, and style content efficiently. Discover the order of operations in CSS and how to redefine variables. Follow along to create and apply a dark mode to your web page, enhancing your CSS skills and understanding of modern web design techniques.
Syllabus
Intro
Welcome
Why use CSS variables?
Starter Code
:root pseudo-class
Apply colors with CSS variables
Apply font styles with CSS variables
Nesting CSS variables
Adding more HTML content
Styling the main element
Order of operations
Styling the content with CSS variables
Redefining CSS variables
Create and apply a Dark Mode
Taught by
Dave Gray
Related Courses
Probabilistic Graphical Models 1: RepresentationStanford University via Coursera Computer Security
Stanford University via Coursera Intro to Computer Science
University of Virginia via Udacity Introduction to Logic
Stanford University via Coursera Internet History, Technology, and Security
University of Michigan via Coursera