Thus, according to the compass, they only support Chrome, Safari, Firefox 3.6, and Opera when it comes to gradients.
Any ideas on how to add IE support to the compass / some other workaround?
Code in:
@import "compass";
.testgradient {
@include background(
linear-gradient(top left,
);
}
The code:
.testgradient {
background: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #333333), color-stop(100%, #00cc00));
background: -webkit-linear-gradient(top left, #333333, #00cc00);
background: -moz-linear-gradient(top left, #333333, #00cc00);
background: -o-linear-gradient(top left, #333333, #00cc00);
background: linear-gradient(top left, #333333, #00cc00);
}
source
share