twitter-bootstrap – 带Bootstrap 3的无响应导航栏

这是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表单

相关文章

Bootstrip HTML 查询搜索常用格式模版 <form class=&...
如何在按钮上加红色数字 您可以使用Bootstrap的badge组件来在...
要让两个按钮左右排列,你可以使用 Bootstrap 的网格系统将它...
是的,可以将status设置为布尔类型,这样可以在前端使用复选...
前端工程师一般用的是Bootstrap的框架而不是样式,样式一般自...
起步导入:<linkrel="stylesheet"href="b...