加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

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

发布时间:2020-12-18 00:14:10 所属栏目:安全 来源:网络整理
导读:这是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
这是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表单

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读