CSS Variables without Sass? Learn how to use CSS Variables (Tutorial)

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI11 min

About this video

A tutorial showing how to use native CSS variables (custom properties) without a preprocessor like Sass. It walks through starting to use them in stylesheets for people new to the technique.

What you’ll learn

  • Declare CSS custom properties in a stylesheet
  • Reference CSS variables in styles without Sass
  • Apply shared values across a stylesheet with variables