Change Collapse breakpoint in Bootstrap 3.0

前端 未结 6 995
渐次进展
渐次进展 2020-12-16 19:26

Please help me on changing when my nav-bar be collapsed or if there is any method to make it responsive like getting in small size!

that\'s my code:

         


        
6条回答
  •  既然无缘
    2020-12-16 19:56

    There are numerous things to change the collapse breakpoint in the css, you would need a VERY good handle on mobile first responsive design to do it OR use the LESS, but the fastest way is to visit:

    http://getbootstrap.com/customize/enter image description here

    And enter the breakpoint that you want in the @grid-float-breakpoint field. The choices are the Media queries breakpoints listed @screen-sm-min is where it defaults, it used to default at the @screen-md-min (or thereabouts) in 2.x.

    Also read the docs and use the examples as starting points. None of the implementations of the navbar are contained in column classes as those are used inside .rows and there's supposed to be .container directly inside the navbar.

提交回复
热议问题