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
Sass for beginners
Sass for beginners

Are you learning Sass? Try our test we designed to help you progress faster.

Test yourself