Skip to content

This is one of our old lessons! Visit the Path page to see all of our latest courses.

Topic: Sass Basics

Variables – Sass

Preview

In Sass, variable names start with a dollar sign:

$main-color: red;

p {
  color: $main-color;
}

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.