]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add note for icon class usage per #1501
authorMark Otto <markdotto@gmail.com>
Thu, 2 Feb 2012 07:10:00 +0000 (23:10 -0800)
committerMark Otto <markdotto@gmail.com>
Thu, 2 Feb 2012 07:10:00 +0000 (23:10 -0800)
docs/assets/bootstrap.zip
docs/base-css.html
docs/templates/pages/base-css.mustache

index 12aef2c013f317c7938bf955a49b98702e83cc32..c1b04c36b4eac385e7e6afa01697daa4fd1bf6b6 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index a198064f8195c1af670b5754fec57df391999247..f6fcda10c2deab7831424cc8223afd3376483f29 100644 (file)
@@ -1469,6 +1469,10 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
 &lt;i class="icon-search icon-white"&gt;&lt;/i&gt;
 </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>
index 6348097159ff6ea3e0ad09129074a930994eabc9..892442ceec55794492a170fb69548f7423e1c311 100644 (file)
 &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>