News for hackers. Stuff that matters.
Re:Bootstrap 2.0, From Twitter by spung on Tuesday January 31, 2012 @11:49PM (#3536746)
I've incorporated Bootstrap 1.4 to use its styling (fonts, buttons, etc) but I'd like to get into the responsive features of 2.0. How exactly does the grid layout work, how should I layout my content? Which columns should I use and how would they adapt to changes in device max width? Thanks in advance!
Re:Bootstrap 2.0, From Twitter by sunchild on Wednesday February 01, 2012 @12:55AM (#3536894)
It's pretty much as easy as wrapping the content in .container, .row, and .spanN tags. The responsive part should take care of itself by collapsing horizontal elements into vertical arrangements, and adjusting widths to keep them within the viewport.

There are some edge cases for various components (such as the Bootstrap navbar) that require some special markup and Javascript to collapse intelligently.