Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why won't this SCSS mixin work? Reply To: Why won't this SCSS mixin work?

#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.)