3 ms·
What to do if you need columns' sizes to be e.g. 7.5 and 4.5 ?
by lukasm 12y ago
What to do if you need columns' sizes to be e.g. 7.5 and 4.5 ?
- RayLau135 12y agoYou can customise your own version of bootstrap to have double the amount of columns, 24 instead of 12 http://getbootstrap.com/customize/ http://getbootstrap.com/customize/
- gordian 12y agoIf you're using LESS then it's extremely efficient at that: .make-sm-column(7.5) and .make-sm-column(4.5). Done.
- eflowers 12y agoThe less mixin version of making the columns can be any value as it does some math to take it to a percent. So a 6 is a 50%, so if you want a 7.5, it will just change that to a % and then your 4.5 will fit right in. You can do this with almost every Less value bootstrap looks for. Really slick.