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

前端 未结 11 1447
忘了有多久
忘了有多久 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:36

    You cloud also simply override the width of the Column...

    Since col-md-1 is of width 8.33333333%; simply multiply 8.33333333 * 1.5 and set it as your width.

    in bootstrap 4, you will have to override flex and max-width property too:

提交回复
热议问题