Skip to content

Instantly share code, notes, and snippets.

@EdPoole
Last active December 11, 2015 02:28
Show Gist options
  • Save EdPoole/4530542 to your computer and use it in GitHub Desktop.
Save EdPoole/4530542 to your computer and use it in GitHub Desktop.
@mixin vendorPrefix($property, $arguments) {
-webkit-#{$property}: $arguments;
-moz-#{$property}: $arguments;
-ms-#{$property}: $arguments;
-o-#{$property}: $arguments;
#{$property}: $arguments;
}
/* HOW TO CALL IT */
@include vendorPrefix(border-radius, 5px);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment