引导导航栏不会与崩溃类一起崩溃

时间:2018-12-10 21:31:02

标签: html css

我希望在导航栏上选择选项后,导航栏将消失。
我该怎么做?

这是我的代码:

<div class="navbar-header">
  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="true">
    <span class="sr-only">Toggle navigation</span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
  </button>
  <a class="navbar-brand" href="index.html">
    <img src="img/Tesler-256.png" alt="" width="200">
  </a>
</div>

enter image description here

0 个答案:

没有答案