Home › Forums › CSS › Why won't this SCSS mixin work? › Reply To: Why won't this SCSS mixin work?
December 7, 2013 at 11:47 am
#157922
__
Participant
The tradeoff is, it’s bulky. For example, some things only need a webkit prefix. But I didn’t want to write a bunch of mixins for every prefixable attribute. Maybe I should?
Have another look at @CrocoDillon’s post. Each of your “property” mixins will call the “prefixer” mixin, specifying only the vendors it needs. Definitely the way to go.
(This is how Bourbon does it; I’m pretty sure Compass does the same.)