Skip to content

Instantly share code, notes, and snippets.

@plapier
Last active December 10, 2015 00:28
Show Gist options
  • Save plapier/4350961 to your computer and use it in GitHub Desktop.
Save plapier/4350961 to your computer and use it in GitHub Desktop.
@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
Copy link
Author

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