这是Bootstrap 3文档中关于导航栏的
disabling responsivness的段落:
If using navbars,undo all the navbar collapsing and expanding
behavior (this is too much to show here,so peep the example).
我真的无法得到如何禁用响应.另外,从non-responsive example开始我就无法理解了.有人已经这样做了吗?
解决方法
检查:
https://github.com/bassjobsen/non-responsive-tb3并阅读
https://github.com/twbs/bootstrap/issues/10371.
您可以通过在variables.less中将@ grid-float-breakpoint设置为0来完成此操作.并重新编译bootstrap.
更新
正如@fred-k的评论所述,上述内容并未使导航栏下拉列表无响应.要解决此问题,您必须将navbar.less中的@ screen-xs-max设置为0.
此问题将在以后的版本中修复,请参阅https://github.com/twbs/bootstrap/pull/10465
注意navbar.less中的@ screen-xs-max也会影响Navbar表单
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。