Sass and Less - Mixins vs Extends

preview_player
Показать описание
Now we focus a bit more on Sass and look at extends. Extends are kind of the same as a mixin, but Sass treats them differently when we look at the resulting CSS code and it can be good to know the differences. We use both a parameter driven mixin and an extend to finalize the look of our buttons.
Рекомендации по теме
Комментарии
Автор

Hi sir, thanks for your explanation. The differences are clear. However, in which cases should you use mixins and in which cases should you use extends?

xJanini