Disable ONE of the Twitter Bootstrap responsive layouts

前端 未结 4 2179
后悔当初
后悔当初 2020-12-14 03:32

I would like to disable one of the Responsive layouts. Whatever the second smallest layout is before it switches to the mobile view.

4条回答
  •  没有蜡笔的小新
    2020-12-14 04:08

    If you aren't compiling LESS, the best way I've found is going into bootstrap.css and commenting out the size you don't want active. The CSS is pretty well-organized, and disabling one of the sizes doesn't appear to affect anything else.

    (Of course, you have to be careful you don't re-enable them when updating Bootstrap.)

提交回复
热议问题