1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

add note for icon class usage per #1501

This commit is contained in:
Mark Otto 2012-02-01 23:10:00 -08:00
parent 25ffe14c1b
commit 1ec6628e80
3 changed files with 8 additions and 0 deletions

Binary file not shown.

View file

@ -1469,6 +1469,10 @@ For example, <code>section</code> should be wrapped as inline.
<i class="icon-search icon-white"></i>
</pre>
<p>There are 120 classes to choose from for your icons. Just add an <code>&lt;i&gt;</code> tag with the right classes and you're set. You can find the full list in <strong>sprites.less</strong> or right here in this document.</p>
<div class="alert alert-info">
<strong>Heads up!</strong>
The <code>.icon-</code> class must be listed first in the class tag for proper CSS targeting.
</div>
</div>
<div class="span4">
<h3>Use cases</h3>

View file

@ -1393,6 +1393,10 @@
&lt;i class="icon-search icon-white"&gt;&lt;/i&gt;
</pre>
<p>{{_i}}There are 120 classes to choose from for your icons. Just add an <code>&lt;i&gt;</code> tag with the right classes and you're set. You can find the full list in <strong>sprites.less</strong> or right here in this document.{{/i}}</p>
<div class="alert alert-info">
<strong>{{_i}}Heads up!{{/i}}</strong>
{{_i}}The <code>.icon-</code> class must be listed first in the class tag for proper CSS targeting.{{/i}}
</div>
</div>
<div class="span4">
<h3>{{_i}}Use cases{{/i}}</h3>