Last active
December 26, 2015 01:48
-
-
Save defo550/7073344 to your computer and use it in GitHub Desktop.
SASS mixin to add appropriate vendor-prefixes for CSS3 properties: e.g. transition, transform, box-shadow, box-sizing, etc.
This file contains hidden or 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 prefixr( $property, $value, $prefixes: webkit moz ) { | |
@each $prefix in $prefixes { | |
-#{$prefix}-#{$property}: $value; | |
} | |
#{$property}: $value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment