码迷,mamicode.com
首页 > 其他好文 > 详细

导航条

时间:2017-04-13 17:49:57      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:logo   opd   header   mobile   popup   sed   orm   image   exp   

<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>

导航条

标签:logo   opd   header   mobile   popup   sed   orm   image   exp   

原文地址:http://www.cnblogs.com/yaomengli/p/6705035.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!