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

update starter template to use new navbar

This commit is contained in:
Mark Otto 2014-12-04 00:59:36 -08:00
parent 4474630d77
commit c7c46acf48
2 changed files with 14 additions and 20 deletions

View File

@ -23,24 +23,18 @@
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<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="#">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">About</a></li>
<li><a href="#contact">Contact</a></li>
<ul class="nav nav-pills">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">

View File

@ -1,7 +1,7 @@
body {
padding-top: 50px;
padding-top: 5rem;
}
.starter-template {
padding: 40px 15px;
padding: 3rem 1.5rem;
text-align: center;
}