Extends

Lesson 10
Author : Afrixi
Last Updated : October, 2017


Table of Content

Code

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

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

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