Home › Forums › CSS › SASS Mixins › Reply To: SASS Mixins
November 12, 2013 at 11:37 am
#155840
TheDoc
Member
I generally just use Compass and like their mixins (though I have modified a couple of them).
Keep in mind, though, that sometimes you want a mixin and other times you want to use @extend
.
For me, mixins are something that you pass a variable to and you would use extend when you don’t need to pass anything to it. This is because using @include
duplicates CSS and @extend
just adds a new selector. If you use @include
a lot you could be seriously bloating your final code.