【问题标题】:Twitter Bootstrap: Where can I find the subnav nav-pills from the Documentation?Twitter Bootstrap:我在哪里可以找到文档中的 subnav nav-pills?
【发布时间】:2012-06-14 21:52:22
【问题描述】:

我刚开始使用 Twitter Bootstrap http://twitter.github.com/bootstrap/scaffolding.html 我正在寻找标题下方的灰色/蓝色导航栏。

文档中没有它,我只是无法通过 Google 找到任何东西。这正是我的主导航所需要的。

我希望有人可以帮助我,我开始发疯了,因为我找不到任何关于此的信息。

【问题讨论】:

  • 该子导航“还”不是引导框架的一部分,我相信它计划在未来的一些版本中出现,但如果你愿意,你可以从文档中删除它。

标签: navigation twitter-bootstrap


【解决方案1】:

您正在寻找滚动间谍http://twitter.github.com/bootstrap/javascript.html#scrollspy

对于样式,您应该查看http://twitter.github.com/bootstrap/less.html#variables 向下滚动广告,您会看到组件/导航栏

【讨论】:

  • 对...不过我不是在寻找功能,只是为了样式和外观。
  • 不,不是真的,我已经看过那个部分,我知道我可以自己编辑它。我只需要他们网站上此导航栏的确切属性,我在任何地方都找不到。
  • @Mexxer all I canSuggest you 类似:@navbarBackground: @grayLighter@navbarBackgroundHighlight: @white@navbarText: @linkColor@navbarLinkColor: @linkColor@navbarLinkColorHover: @linkColorHover@navbarLinkColorActive: @gray`@navbarLinkBackgroundHover: @grayLighter@navbarLinkBackgroundActive: @grayLight你可以玩有了它
【解决方案2】:

@Mexxer 检查这个:http://twitter.github.com/bootstrap/assets/css/docs.css 你可以找到 .subnav 类。部分 /* 子导航 */.问候

【讨论】:

  • 不是真的!那里没有 subnav 类。
猜你喜欢
  • 2012-08-12
  • 2012-05-20
  • 1970-01-01
  • 1970-01-01
  • 2016-02-08
  • 1970-01-01
  • 2010-09-13
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多