Skip to content

Instantly share code, notes, and snippets.



Last active Dec 10, 2015
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); // linear-gradient
// Usage
@include my-linear-gradient(red, orange);

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