Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
SASS prefixer
@mixin prefix($property, $value, $prefixes: ("-webkit-","-moz-","-o-","-ms-","")) {
@each $prefix in $prefixes {
#{$prefix}#{$property}: #{$value};
.block {
@include prefix("transition", ".5s");
@include prefix("border-radius", "5px", ("-webkit-","-moz-",""));

beholdr commented Oct 18, 2012

Prefixer from this article with prefix defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment