My Bootstrap 4 responsive column layout not working

前端 未结 4 1509
感动是毒
感动是毒 2021-01-24 02:20

So I made a very simple responsive website layout using Bootstrap 4 so according to the code the no of columns should become 4 when it enters tablet mode ie when the viewport is

4条回答
  •  别那么骄傲
    2021-01-24 02:51

    Unlike Bootstrap 3, Bootstrap 4 has a bit different grid system. Here sm starts to act since <768px. and the xs breakpoint now is just col. Here, rewritten a bit.

    
    
    
    
    
    col
    col
    col
    col
    col
    col

提交回复
热议问题