Skip to content

Instantly share code, notes, and snippets.

@imlinus
Last active December 29, 2015 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imlinus/7677227 to your computer and use it in GitHub Desktop.
Save imlinus/7677227 to your computer and use it in GitHub Desktop.
prefix mixin
// mixin for prefixin'
// usage: @include prefix(attribute, argument);
@mixin prefix($attribute, $argument) {
-webkit-#{$attribute}: #{$argument};
-moz-#{$attribute}: #{$argument};
-ms-#{$attribute}: #{$argument};
-o-#{$attribute}: #{$argument};
#{$attribute}: #{$argument};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment