aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-06-08 23:02:16 -0700
committerMark Otto <[email protected]>2014-06-08 23:02:16 -0700
commit8d9ef8f0a14c7bf95a3d7aa2eb7d15e42a2c9f38 (patch)
tree9d9721d66ed37a34951c0b569938495faa1fc39a /less
parent85cde774b9c8a6970d9e29fc0458c53d09b628a1 (diff)
downloadbootstrap-8d9ef8f0a14c7bf95a3d7aa2eb7d15e42a2c9f38.tar.xz
bootstrap-8d9ef8f0a14c7bf95a3d7aa2eb7d15e42a2c9f38.zip
Addresses part of #13643: Correct webkit-linear-gradient syntax in horizontal gradients
Diffstat (limited to 'less')
-rw-r--r--less/mixins/gradients.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/less/mixins/gradients.less b/less/mixins/gradients.less
index e7d261598..0b88a89cc 100644
--- a/less/mixins/gradients.less
+++ b/less/mixins/gradients.less
@@ -7,7 +7,7 @@
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
- background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+
+ background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;