0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #17183 from kkirsche/patch-26

v4 - Fix Navbar at top of v4 Offcanvas example
This commit is contained in:
Mark Otto 2015-09-02 00:33:12 -07:00
commit 0c0f675b94

View File

@ -22,24 +22,14 @@
</head> </head>
<body> <body>
<nav class="navbar navbar-fixed-top navbar-inverse"> <nav class="navbar navbar-fixed-top navbar-dark bg-inverse">
<div class="container"> <div class="container">
<div class="navbar-header"> <a class="navbar-brand" href="#">Project name</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <ul class="nav navbar-nav">
<span class="sr-only">Toggle navigation</span> <li class="nav-item active"><a class="nav-link" href="#">Home</a></li>
<span class="icon-bar"></span> <li class="nav-item"><a class="nav-link" href="#about">About</a></li>
<span class="icon-bar"></span> <li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
<span class="icon-bar"></span> </ul>
</button>
<a class="navbar-brand" href="#">Project name</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container --> </div><!-- /.container -->
</nav><!-- /.navbar --> </nav><!-- /.navbar -->