What does @extend feature do in Sass?
Experience Level: Junior
Tags: Sass
Answer
The Sass @extend feature allows you to inherit style rule sets from the style definition and extend them by additional rule sets.
Related Sass job interview questions
What are Operations in Sass? Give some examples.
Sass JuniorWhat is a difference between @mixin and @extend in Sass?
Sass JuniorWhat does the @include keyword do in Sass?
Sass JuniorWhat is the advantage of using Sass mixins? When would you use them?
Sass JuniorWhat are Mixins in Sass, how do you define them and how do you use them?
Sass Junior