当前位置: 动力学知识库 > 问答 > 编程问答 >

How to make bootstrap nav collapsing from specific resolution?

问题描述:

Currently my bootstrap nav is collapsing into button when the browser width is 768px and less ... how can i change it 800px and less ?

Thanks in advance

网友答案:

You will need to make a custom build of bootstrap.

You need change the @screen-sm variable in the "media queries breakpoints" section on this page.

  1. Change the @screen-sm variable to 800 px
  2. Then scroll to the bottom and click the Compile and Download button.
  3. Take the downloaded files and replace the other bootstrap files you have.

Note: this will also change the breaking point for all of your col-sm-xx classes too but that should not be a big deal.

分享给朋友:
您可能感兴趣的文章:
随机阅读: