导航条

<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">

<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-header">
<img alt="Brand" src="../image/logoMsg.png" />
</div>

</div>

<!-- 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="#">首页 <span class="sr-only">(current)</span></a></li>
<li><a href="#">演出</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Something else here</a></li>
</ul>
</li>
</ul>
<div class="nav navbar-nav navbar-right">
<li class="navbar-link"><a href="#">登陆</a></li>
<li class="navbar-link"><a href="#">注册</a></li>
</div>
<form class="navbar-form navbar-right">
<div class="input-group navbar-input">
<input type="text" placeholder="请输入要搜索的内容" class="form-control " />
<span class="input-group-btn">
<input type="button" class="btn btn-default " value="搜索"/>
</span>
</div>
</form>

</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
posted @ 2017-04-13 17:31  yaomengli  阅读(162)  评论(0编辑  收藏  举报