Skip to content

Instantly share code, notes, and snippets.

@martindufresne
Created September 16, 2013 17:09
Show Gist options
  • Save martindufresne/6583527 to your computer and use it in GitHub Desktop.
Save martindufresne/6583527 to your computer and use it in GitHub Desktop.
css-vendor-prefix-mixin-for-sass
@mixin vendor-prefix($name, $argument) {
#{$name}: $argument;
-webkit-#{$name}: $argument;
-ms-#{$name}: $argument;
-moz-#{$name}: $argument;
-o-#{$name}: $argument;
}
p {
@include vendor-prefix(hyphens, auto)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment