USING SASS, IN CLASS-B, I WOULD LIKE TO INHERIT ALL PROPERTIES AND NESTED DECLARATIONS OF CLASS-A. HOW IS THIS DONE, INCLUDING ANOTHER CLASS IN SCSS?

Using SASS, in class-b, I would like to inherit all properties and nested declarations of class-a. How is this done, Including another class in SCSS?

.class-a{
Backgroung-color:red;
font-size: 90px;
}
.class-b{
@extend .class-a;
color: black;
}
 
 
 
 
 
 
 
 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>