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

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

    you can use this code inside col-md-3 , col-md-9

    .col-side-right{
      flex: 0 0 20% !important;
      max-width: 20%;
    }
    
    .col-side-left{
      flex: 0 0 80%;
      max-width: 80%;
    }
    

提交回复
热议问题