Can I give the col-md-1.5 in bootstrap?

前端 未结 11 1419
忘了有多久
忘了有多久 2020-12-07 22:08

I want to adjust the columns in Twitter Boοtstrap.

I know in bootstrap there are 12 columns grid. Is there any way to manipulate the grids to have 1.5 3.5 3.5 3.5 i

11条回答
  •  既然无缘
    2020-12-07 22:33

    As @bodi0 correctly said, it is not possible. You either have to extent Bootstrap's grid system (you can search and find various solutions, here is a 7-column example) or use nested rows e.g. http://bootply.com/dd50he9tGe.

    In the case of nested rows you might not always get the exact result but a similar one

    1.67 (close to 1.5)
    3.33 (close to 3.5)
    3.5
    3.5

提交回复
热议问题