Twitter bootstrap 如何将引导toogle菜单设置为默认菜单?

Twitter bootstrap 如何将引导toogle菜单设置为默认菜单?,twitter-bootstrap,twitter-bootstrap-3,Twitter Bootstrap,Twitter Bootstrap 3,我有一个网站,我正在尝试将引导toogle菜单设置为默认值,因为现在很多流行网站都在使用它。toogle菜单始终显示。即使是去顶视图` 这是我的密码,提前谢谢。 切换导航 烙印 <!-- Collect the nav links, forms, and other content for toggling --> <div class="colla

我有一个网站,我正在尝试将引导toogle菜单设置为默认值,因为现在很多流行网站都在使用它。toogle菜单始终显示。即使是去顶视图` 这是我的密码,提前谢谢。 切换导航 烙印

                                <!-- Collect the nav links, forms, and other content for toggling -->
                                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                                  <ul class="nav navbar-nav">
                                    <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
                                    <li><a href="#">Link</a></li>
                                    <li><a href="#">Link</a></li>
                                    <li><a href="#">Link</a></li>
                                  </ul>
                                </div><!-- /.navbar-collapse -->
                              </div><!-- /.container-fluid -->
                            </nav>`

`
嗨,请务必关闭您的div。
用以下代码替换您的代码
...
继续[http://www.bootply.com/pSq7nXLcfc][1]
[1]: http://www.bootply.com/pSq7nXLcfc

谢谢您的回答,我有所有这些代码,但我想要所有设备的切换菜单,而不仅仅是tab和mobile。希望您能理解。:)
Hi be sure to close your <nav></nav> divs. 
    Replace your code with the following 
    <nav class="navbar navbar-default">
      <div class="container-fluid"> 
       <div class="navbar-header">
         <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
    ...
    </button> cont here [http://www.bootply.com/pSq7nXLcfc][1]


      [1]: http://www.bootply.com/pSq7nXLcfc