Created
October 11, 2016 10:06
-
-
Save bratsun/da70859edfb32a7a85774f4f48785e38 to your computer and use it in GitHub Desktop.
Prefixer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin prefix($property, $value, $prefixes: ()) { | |
@each $prefix in $prefixes { | |
#{'-' + $prefix + '-' + $property}: $value; | |
} | |
// Output standard non-prefixed declaration | |
#{$property}: $value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment