Skip to content

Instantly share code, notes, and snippets.

@Usse
Created November 12, 2012 13:15
Show Gist options
  • Save Usse/4059338 to your computer and use it in GitHub Desktop.
Save Usse/4059338 to your computer and use it in GitHub Desktop.
Sass Mixin for generic vendor prefixing
@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