1
0
Fork 0
mirror of https://github.com/Oreolek/elements.git synced 2024-04-25 21:49:19 +03:00

Gradients: Compatibility with IE9/10 added

This commit is contained in:
Ivan Mendoza 2012-04-13 10:59:26 -06:00
parent f29fefed9b
commit 4e71974b0a

View file

@ -26,6 +26,8 @@
background: -moz-linear-gradient(center bottom,
@start 0%,
@stop 100%);
background: -ms-linear-gradient(top, @start 0%,@stop 100%);
filter: ~"progid:DXImageTransform.Microsoft.gradient( startColorstr='@{stop}', endColorstr='@{start}',GradientType=0)";
}
.horizontal(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
background: @color;
@ -41,6 +43,8 @@
color-stop(0, @stop),
color-stop(0.5, @start)
);
background: -ms-linear-gradient(left, @start 0%,@stop 100%);
filter: ~"progid:DXImageTransform.Microsoft.gradient( startColorstr='@{stop}', endColorstr='@{start}',GradientType=1)";
}
.bw(@color: #F5F5F5, @start: 0, @stop: 255) {
background: @color;