aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorsyed <[email protected]>2014-04-26 09:44:14 +0500
committersyed <[email protected]>2014-04-26 09:44:14 +0500
commit43b6d6c2f879b08c682433adfd6a8a78622500b3 (patch)
tree1639ec16344c8808230f5d7c723baed79fe3c0a4 /docs/_includes
parent05d4932cadbcf5a7148f26483142cf347354a2d4 (diff)
downloadbootstrap-43b6d6c2f879b08c682433adfd6a8a78622500b3.tar.xz
bootstrap-43b6d6c2f879b08c682433adfd6a8a78622500b3.zip
fixes https://github.com/twbs/bootstrap/issues/13367
Second color stop value should be percentage instead of decimal value.
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/css/less.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/css/less.html b/docs/_includes/css/less.html
index c07153318..eadbda775 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 %}
- <p>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:</p>
+ <p>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:</p>
{% 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 %}
<p><strong>Heads up!</strong> Should you ever need to remove a gradient, be sure to remove any IE-specific <code>filter</code> you may have added. You can do that by using the <code>.reset-filter()</code> mixin alongside <code>background-image: none;</code>.</p>