Skip to content

Instantly share code, notes, and snippets.

@matsub
Created March 18, 2016 10:06
Show Gist options
  • Save matsub/47d904c7441767847ff8 to your computer and use it in GitHub Desktop.
Save matsub/47d904c7441767847ff8 to your computer and use it in GitHub Desktop.
SCSS mixin to add vendor prefixes.
$PREFIXES: null, -moz-, -webkit-;
@mixin prefix($property, $value){
@each $prefix in $PREFIXES{
#{$prefix}#{$property}: $value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment