Home › Forums › CSS › Why won't this @mixin work? › Reply To: Why won't this @mixin work?
May 28, 2014 at 4:52 pm
#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.