Skip to content

Instantly share code, notes, and snippets.

@magician11
Created May 16, 2015 19:48
Show Gist options
  • Save magician11/586dc9f94d131a067b81 to your computer and use it in GitHub Desktop.
Save magician11/586dc9f94d131a067b81 to your computer and use it in GitHub Desktop.
Mixin for vendor prefixes using SCSS
/* 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