Lessons: 8Length: 1.2 hours

Next lesson playing in 5 seconds

Cancel

The Complete Guide to Using CSS Variables

Welcome to the Course

01:11

CSS custom properties, also known as CSS variables, are entities that contain specific values that can be reused in a stylesheet. They are like LESS or Sass variables, except you don’t need a preprocessor to use them. In fact, browsers have supported them for the past few years.

In this course, you’ll learn everything you need to know in order to use CSS variables in the most efficient way. You’ll learn about the proper syntax, naming, and what kind of values you can store, and you’ll also see a lot of examples along the way.