Skip to content

Commit

Permalink
Merge pull request #13437 from saas786/master
Browse files Browse the repository at this point in the history
fixes #13367
  • Loading branch information
mdo committed May 1, 2014
2 parents 2c1fe53 + 43b6d6c commit abc7976
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_includes/css/less.html
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ <h3 id="less-mixins-gradients">Gradients</h3>
{% 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>

Expand Down

0 comments on commit abc7976

Please sign in to comment.