From 2e3306d5ddcbc5b906f36749007c0c8ea75d38c6 Mon Sep 17 00:00:00 2001 From: Han Lin Yap Date: Tue, 26 Jun 2012 12:30:43 +0300 Subject: [PATCH] Update linear-gradient standard --- less/mixins.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/less/mixins.less b/less/mixins.less index e1e06bd2a6..b6c0709163 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -400,7 +400,7 @@ background-image: -webkit-gradient(linear, 0 0, 100% 0, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ background-image: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10 - background-image: linear-gradient(left, @startColor, @endColor); // Le standard, IE10 + background-image: linear-gradient(to right, @startColor, @endColor); // Le standard, IE10 background-repeat: repeat-x; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@startColor),argb(@endColor))); // IE9 and down } @@ -410,7 +410,7 @@ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 - background-image: linear-gradient(top, @startColor, @endColor); // The standard, IE10 + background-image: linear-gradient(to bottom, @startColor, @endColor); // The standard, IE10 background-repeat: repeat-x; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down }