News for hackers. Stuff that matters.
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.
Re:Bootstrap 2.0, From Twitter by nhebb on Wednesday February 01, 2012 @03:09AM (#3537161)
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>
Re:Bootstrap 2.0, From Twitter by dhendo on Wednesday February 01, 2012 @04:33AM (#3537309)
Yes, it looks like the docs are lagging behind the code. You just need to include the icon-something class in a tag.
Re:Bootstrap 2.0, From Twitter by nhebb on Wednesday February 01, 2012 @07:33AM (#3537648)
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.
Re:Bootstrap 2.0, From Twitter by mrpollo on Thursday February 02, 2012 @04:36PM (#3544614)
yeah, it's only their recommendation it doesn't really matter what tag as long as you have the class here is the selector

[class^="icon-"]