Skip to content

Instantly share code, notes, and snippets.

@plapier

plapier/ms-gradient.scss

Last active Dec 10, 2015
Embed
What would you like to do?
@mixin my-linear-gradient($color1, $color2) {
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#{$color1}', endColorstr='#{$color1}');
@include linear-gradient($color1, $color2); // Bourbon.io linear-gradient
}
// Usage
@include my-linear-gradient(red, orange);
@plapier

This comment has been minimized.

Copy link
Owner Author

@plapier plapier commented Dec 21, 2012

This mixin is untested.

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