Sass - Style a Website
This course covers the basics of styling a website using Sass. Work your way through the videos and we'll teach you everything you need to know to style a basic website!

Extends

Lesson 10
Author : Mike Dane
Last Updated : October, 2017


Code

Copy.message {
     font-size: 20px;
     border: 1px solid black;
}

.warning {
     @extend .message;
     color: yellow;
}

.error {
     @extend .message;
     color: red;
}