mirror of
https://github.com/Oreolek/elements.git
synced 2024-07-06 00:14:21 +03:00
Gradients: Compatibility with IE9/10 added
This commit is contained in:
parent
f29fefed9b
commit
4e71974b0a
|
@ -26,6 +26,8 @@
|
||||||
background: -moz-linear-gradient(center bottom,
|
background: -moz-linear-gradient(center bottom,
|
||||||
@start 0%,
|
@start 0%,
|
||||||
@stop 100%);
|
@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) {
|
.horizontal(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
|
||||||
background: @color;
|
background: @color;
|
||||||
|
@ -41,6 +43,8 @@
|
||||||
color-stop(0, @stop),
|
color-stop(0, @stop),
|
||||||
color-stop(0.5, @start)
|
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) {
|
.bw(@color: #F5F5F5, @start: 0, @stop: 255) {
|
||||||
background: @color;
|
background: @color;
|
||||||
|
|
Loading…
Reference in a new issue