Forums

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

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

#171301
__
Participant

Well, they don’t do

+prefixer( border-radius, 5px, webkit moz ms )

but rather, beforehand

=border-raduis( $radius )
    +prefixer( border-radius, $radius, webkit moz ms )

and then

+border-radius( 5px )

…if you follow. (not that any of that was actual code.) It’s extra work that you might not want to put into your own solution, but it is a level of abstraction that does a good job of solving the “shotgun prefixer” problem.