aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Lin Yap <[email protected]>2012-06-26 12:30:43 +0300
committerHan Lin Yap <[email protected]>2012-06-26 12:30:43 +0300
commit2e3306d5ddcbc5b906f36749007c0c8ea75d38c6 (patch)
tree63d4b94242905215a85080ea11ee23a3f6dfd94a
parentb77ed4a3a3c47af057e16db93ef41023d1cc5e08 (diff)
downloadbootstrap-2e3306d5ddcbc5b906f36749007c0c8ea75d38c6.tar.xz
bootstrap-2e3306d5ddcbc5b906f36749007c0c8ea75d38c6.zip
Update linear-gradient standard
-rw-r--r--less/mixins.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins.less b/less/mixins.less
index e1e06bd2a..b6c070916 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
}