From: syed Date: Sat, 26 Apr 2014 04:44:14 +0000 (+0500) Subject: fixes https://github.com/twbs/bootstrap/issues/13367 X-Git-Tag: v3.2.0~217^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b6d6c2f879b08c682433adfd6a8a78622500b3;p=thirdparty%2Fbootstrap.git fixes https://github.com/twbs/bootstrap/issues/13367 Second color stop value should be percentage instead of decimal value. --- diff --git a/docs/_includes/css/less.html b/docs/_includes/css/less.html index c071533188..eadbda775b 100644 --- a/docs/_includes/css/less.html +++ b/docs/_includes/css/less.html @@ -378,10 +378,10 @@ a { {% highlight scss %} #gradient > .striped(#333; 45deg); {% endhighlight %} -

Up the ante and use three colors instead. Set the first color, the second color, the second color's color stop (a decimal value like 0.25), and the third color with these mixins:

+

Up the ante and use three colors instead. Set the first color, the second color, the second color's color stop (a percentage value like 25%), and the third color with these mixins:

{% highlight scss %} -#gradient > .vertical-three-colors(#777; #333; .25; #000); -#gradient > .horizontal-three-colors(#777; #333; .25; #000); +#gradient > .vertical-three-colors(#777; #333; 25%; #000); +#gradient > .horizontal-three-colors(#777; #333; 25%; #000); {% endhighlight %}

Heads up! Should you ever need to remove a gradient, be sure to remove any IE-specific filter you may have added. You can do that by using the .reset-filter() mixin alongside background-image: none;.