Created
May 16, 2015 19:48
-
-
Save magician11/586dc9f94d131a067b81 to your computer and use it in GitHub Desktop.
Mixin for vendor prefixes using SCSS
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
/* Usage: | |
@include vendor-prefixes(transform, 'scale(0, 0)'); | |
*/ | |
@mixin vendor-prefixes($property, $values) { | |
-webkit-#{$property}: #{$values}; | |
-moz-#{$property}: #{$values}; | |
-ms-#{$property}: #{$values}; | |
-o-#{$property}: #{$values}; | |
#{$property}: #{$values}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment