Why does Bootstrap 3 force the container width to certain sizes?

前端 未结 4 950
一向
一向 2020-12-05 02:52

If my browser is sized to be 992px wide, then .container has a max-width of 970px. If my browser is sized to be 991px wide, then .container has a max-width of 750px. Why is

4条回答
  •  既然无缘
    2020-12-05 03:08

    This is because fixed-width + margin = break point. In bootstrap the margin grows while the container remains at a fixed width. When the browser is res-sized past break-point the container jumps just below break-point.

提交回复
热议问题