17 merge requests!14752.0 wip,!1403warningText and warningBackground docs fix,!985Fix id anchor javascript,!906Twipsy now respects custom classes,!13512.0 wip - relative font sizes,!1315[2.0-wip] Fix mustache glob when building,!1268[wip-2.0] IE 7/8 Typehead JS fix,!12362.0 wip - Fix for issue #1202,!1219Removed dotted outline on navbar dropdown menu,!1210Missing icon class from examples,!1195Fixed display of secondary container,!1090Fixed typo,!1084Default `.border-radius-custom` values,!1064Typo Fix in tables.less,!10572.0 wip,!1052Missing data attribute to close modal,!10212.0 wip
<h1>Icons <small>Graciously provided by <ahref="http://glyphicons.com"target="_blank">Glyphicons</a></small></h1>
</div>
<divclass="row">
<divclass="span2">
<divclass="the-icons">
<iclass="glass"></i>
<iclass="music"></i>
<iclass="search"></i>
<iclass="envelope"></i>
<iclass="heart"></i>
<iclass="star"></i>
<iclass="star-empty"></i>
<iclass="user"></i>
<iclass="film"></i>
<iclass="th-large"></i>
<iclass="th"></i>
<iclass="th-list"></i>
<iclass="ok"></i>
<iclass="remove"></i>
<iclass="zoom-in"></i>
<iclass="zoom-out"></i>
<iclass="off"></i>
<iclass="signal"></i>
<iclass="cog"></i>
<iclass="trash"></i>
</div>
</div>
<divclass="span2">
<divclass="the-icons">
<iclass="home"></i>
<iclass="file"></i>
<iclass="time"></i>
<iclass="road"></i>
<iclass="download-alt"></i>
<iclass="download"></i>
<iclass="upload"></i>
<iclass="inbox"></i>
<iclass="play-circle"></i>
<iclass="repeat"></i>
<iclass="refresh"></i>
<iclass="calendar"></i>
<iclass="lock"></i>
<iclass="flag"></i>
<iclass="headphones"></i>
<iclass="volume-off"></i>
<iclass="volume-down"></i>
<iclass="volume-up"></i>
<iclass="qrcode"></i>
<iclass="barcode"></i>
</div>
</div>
<divclass="span2">
<divclass="the-icons">
<iclass="tag"></i>
<iclass="tags"></i>
<iclass="book"></i>
<iclass="bookmark"></i>
<iclass="print"></i>
<iclass="camera"></i>
<iclass="font"></i>
<iclass="bold"></i>
<iclass="italic"></i>
<iclass="text-height"></i>
<iclass="text-width"></i>
<iclass="align-left"></i>
<iclass="align-center"></i>
<iclass="align-right"></i>
<iclass="align-justify"></i>
<iclass="list"></i>
<iclass="indent-left"></i>
<iclass="indent-right"></i>
<iclass="facetime-video"></i>
<iclass="picture"></i>
</div>
</div>
<divclass="span2">
<divclass="the-icons">
<iclass="pencil"></i>
<iclass="map-marker"></i>
<iclass="adjust"></i>
<iclass="tint"></i>
<iclass="edit"></i>
<iclass="share"></i>
<iclass="check"></i>
<iclass="move"></i>
<iclass="step-backward"></i>
<iclass="fast-backward"></i>
<iclass="backward"></i>
<iclass="play"></i>
<iclass="pause"></i>
<iclass="stop"></i>
<iclass="forward"></i>
<iclass="fast-forward"></i>
<iclass="step-foward"></i>
<iclass="eject"></i>
<iclass="chevron-left"></i>
<iclass="chevron-right"></i>
</div>
</div>
<divclass="span2">
<divclass="the-icons">
<iclass="arrow-left"></i>
<iclass="arrow-right"></i>
<iclass="arrow-up"></i>
<iclass="arrow-down"></i>
<iclass="share"></i>
<iclass="resize-full"></i>
<iclass="resize-small"></i>
<iclass="plus"></i>
<iclass="minus"></i>
<iclass="asterisk"></i>
</div>
</div>
</div>
<br>
<divclass="row">
<divclass="span4">
<h3>Built as a sprite</h3>
<p>Instead of making every icon an extra request, we've compiled them into a sprite—a bunch of images in one file that uses CSS to position the images with <code>background-position</code>. This is the same method we use on Twitter.com and it has worked well for us.</p>
<p><ahref="http://glyphicons.com"target="_blank">Glyphicons</a> has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit. Please consider doing the same in your projects.</p>
</div>
<divclass="span4">
<h3>How to use</h3>
<p>With v2.0.0, the <code><i></code> tag is essentially dedicated to iconography. To use the icons, you can place the follow code wherever you like one to appear:</p>
<preclass="prettyprint">
<i class="chevron-left"></i>
</pre>
<p>There are over 100 classes to choose from for your icons. Just add an <code><i></code> tag with the right class and you're set. You can find the full list in sprites.less or right here in this document.</p>
</div>
<divclass="span4">
<h3>Use cases</h3>
<p>Icons are great, but where would one use them? Here are a few ideas:</p>
<ul>
<li>As visuals for your sidebar navigation</li>
<li>For a purely icon-driven nav</li>
<li>For buttons to help convey the meaning of an action</li>
<li>With links to share context on a user's destination</li>
</ul>
<p>Essentially, anywhere you can put an <code><i></code> tag, you can put an icon.</p>