Permalink
Browse files

Merge pull request #4274 from Marmelatze/three-color-gradient

Force percentage value on .vertical-three-colors() gradient mixin.
  • Loading branch information...
mdo committed Aug 15, 2012
2 parents ff38c14 + fa38ab5 commit b0437bef7659c758398abd548fdee68e042cb336
Showing with 1 addition and 1 deletion.
  1. +1 −1 less/mixins.less
View
@@ -432,7 +432,7 @@
background-color: mix(@midColor, @endColor, 80%);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
- background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
+ background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop*100%, @endColor);
background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
background-repeat: no-repeat;

0 comments on commit b0437be

Please sign in to comment.