Skip to content


fixed #10: color-stop() function removed, @colorStop fixed for moz to be unitless #58

merged 2 commits into from

2 participants


@colorStop100% would require @colorStop to be a decimal, otherwise 25%100%

@mdo mdo merged commit ebec320 into twbs:master
@daveobriencouk daveobriencouk pushed a commit to egocreative/bootstrap that referenced this pull request
@paulirish paulirish correct expires value for nginx. thx bigfolio. fixes #58 a470eef
@llinacont llinacont added a commit to llinacont/bootstrap that referenced this pull request
@llinacont llinacont #58 0eb6ec1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/preboot.less
12 lib/preboot.less
@@ -249,15 +249,15 @@
background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10
background-image: linear-gradient(@deg, @startColor, @endColor); // The standard
- .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 0.5, @endColor: #c3325f) {
+ .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
background-color: @endColor;
background-repeat: no-repeat;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
- background-image: -webkit-linear-gradient(@startColor, color-stop(@colorStop, @midColor), @endColor);
- background-image: -moz-linear-gradient(@startColor, @midColor @colorStop*100%, @endColor);
- background-image: -ms-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
- background-image: -o-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
- background-image: linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
+ background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
+ background-image: -moz-linear-gradient(@startColor, @midColor @colorStop, @endColor);
+ background-image: -ms-linear-gradient(@startColor, @midColor @colorStop, @endColor);
+ background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
+ background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
Something went wrong with that request. Please try again.