Joined May 2013
·

Håkon Ellingsen

Melbu, Norway
·
·

Posted to Screw @mixin, use @extend! over 1 year ago

@ultimatedelman I did not know about the placeholders, but it is really helpful. Makes @extend even more powerful! Haven't gone all the way through the docs yet after I decided to relearn Sass properly, so I really appreciate this tip!

Not using @mixin at all wasn't really the point of my tip though. Me and a friend was just really tired of seeing @mixin being used everywhere and for everything, completely ruining the DRYness we both have come to love. @mixin certainly got its place when writing meaningful and maintainable Sass, and my code still utilize them heavily.

Achievements
85 Karma
1,806 Total ProTip Views