Created
November 12, 2012 13:15
-
-
Save Usse/4059338 to your computer and use it in GitHub Desktop.
Sass Mixin for generic vendor prefixing
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 vendorize($property, $value) { | |
-webkit-#{$property}: $value; | |
-moz-#{$property}: $value; | |
-ms-#{$property}: $value; | |
-o-#{$property}: $value; | |
#{$property}: $value; | |
} | |
// Usage | |
// @include vendorize(PROPERTY,VALUE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment