From 43b6d6c2f879b08c682433adfd6a8a78622500b3 Mon Sep 17 00:00:00 2001 From: syed Date: Sat, 26 Apr 2014 09:44:14 +0500 Subject: [PATCH] fixes https://github.com/twbs/bootstrap/issues/13367 Second color stop value should be percentage instead of decimal value. --- docs/_includes/css/less.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;.

-- 2.47.2