Skip to content

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

Topic: Sass Basics

extend – Sass

Preview

Sass extend example:

%custom-colors {
  background-color: green;
  color: yellow;
}

p {
  @extend %custom-colors;
}

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