Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add gradient declarations for Internet Explorer #21

Closed
wants to merge 1 commit into from

1 participant

@jdewyea

Thanks for including some commonly used mixins. I've added some IE-specific declarations to _linear-gradient.scss for your consideration.

@jdewyea jdewyea closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 22, 2011
  1. @jdewyea
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  public/stylesheets/sass/_linear-gradient.scss
View
2  public/stylesheets/sass/_linear-gradient.scss
@@ -2,4 +2,6 @@
background: $from;
background: -moz-linear-gradient(top, $from, $to);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, $from), color-stop(1, $to));
+ filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#{$from}', endColorstr='#{$to}');
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr='#{$to}')";
}
Something went wrong with that request. Please try again.