Bootstrap 3 dealing with difference between xs and sm

前端 未结 2 1017
刺人心
刺人心 2021-01-22 16:33

I am using col-xs-* for mobile devices in portrait, but naively believed col-sm-* was for landscape mobile devices, however, according to the first answer from this question, it

2条回答
  •  日久生厌
    2021-01-22 16:55

    The easiest way would be to use LESS and change the sm breakpoint:

    @import "bootstrap.less";
    @screen-sm-min: 736px;
    

    http://www.codeply.com/go/g3Qtejhoui

    You can also generate a custom CSS build changing the same @screen-sm-min variable.

提交回复
热议问题