How to get a 16 column layout with Twitter Bootstrap 2?

I get mixed signals from different forum posts. Does this exist due to a change:

// Default 940px grid
// -------------------------
@gridColumns:             12;
@gridColumnWidth:         60px;
@gridGutterWidth:         20px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

to

// Default 940px grid
// -------------------------
@gridColumns:             16;
@gridColumnWidth:         40px;
@gridGutterWidth:         10px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

Is that all I need to do to create 16 columns? I saw some forum posts saying that you need to go hard code in span11-16 selectors for it to work because they no longer exist with Bootstrap 2.0 and cannot be dynamically created.

+5
source share
1 answer

Well, I just tried it and it generates 16 columns in order. Have you looked at this page and tried to configure the download?

http://twitter.github.com/bootstrap/download.html

, 556 mixins (The Grid), , . .

https://github.com/twitter/bootstrap/blob/master/less/mixins.less

, .

+4

All Articles