Re:Bootstrap 2.0, From Twitter
by niels on Wednesday February 01, 2012 @03:02AM
(#3537146)
They don't use <i> anymore. They use class icon.
[ Parent
| on HN ]
It looks like they still do. From http://twitter.github.com/bootstrap/base-css.html#icons
<excerpt> How to use
With v2.0.0, we have opted to use an <i> tag for all our icons, but they have no case class—only a shared prefix. To use, place the following code just about anywhere:
<i class="icon-search"></i>
</excerpt>Yes, it looks like the docs are lagging behind the code. You just need to include the icon-something class in a tag.
Thanks for the tip. Even if I never use it anymore, <i> still means italic to me. The thought of using it for icons breaks 15 years of ingrained habit.