Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CSS Variables (CSS Custom Properties) Tutorial

EGATOR via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to implement and utilize CSS Variables, also known as CSS Custom Properties, in this 14-minute tutorial. Master the syntax for declaring custom properties using the double-dash notation, understand how to define variables within CSS selectors and the :root pseudo-class for global scope, and discover how to reference these variables throughout your stylesheets using the var() function. Explore practical applications including creating consistent color schemes, managing spacing values, and building maintainable stylesheets that can be easily updated. Understand the cascade and inheritance behavior of CSS custom properties, learn how to provide fallback values, and see how CSS variables differ from preprocessor variables by being live and dynamic in the browser.

Syllabus

CSS Variables (CSS Custom Properties) Tutorial

Taught by

EGATOR

Reviews

Start your review of CSS Variables (CSS Custom Properties) Tutorial

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.