how to extend a class fron another in sass code example
Example: scss extend
.error:hover {
background-color: #fee;
}
.error--serious {
@extend .error;
border-width: 3px;
}
.error:hover {
background-color: #fee;
}
.error--serious {
@extend .error;
border-width: 3px;
}