html5网页响应式滑动侧边栏导航菜单特效



145 576 193



特效描述:html5 响应式滑动 侧边栏导航菜单,html5滑动侧边栏导航菜单特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/default.css">
<link href="css/offcanvas.min.css" rel="stylesheet" type="text/css">

2. 引入JS

<script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/offcanvas.js"></script>

3. HTML代码

<div class="overlay"></div>
<nav class="navbar navbar-inverse navbar-static-top">
  <div class="container">
	<div class="navbar-header">
	  <button type="button" class="navbar-toggle collapsed pull-left" data-toggle="offcanvas">
		<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="#">Bootstrap响应式导航菜单</a>
	</div>
	<div id="navbar" class="collapse navbar-collapse sidebar-offcanvas">
	  <ul class="nav navbar-nav">
		<li class="active"><a href="#">首页</a></li>
		<li><a href="#about">项目</a></li>
		<li><a href="#contact">关于我们</a></li>
	  </ul>
	</div><!--/.nav-collapse -->
  </div>
</nav>
<div class="container">
	<div class="row-offcanvas row-offcanvas-left">
		<div class="starter-template">
			<div class="row">
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-1.jpg" alt>
				</a>
			  </div>
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-2.jpg" alt>
				</a>
			  </div>
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-1.jpg" alt>
				</a>
			  </div>
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-2.jpg" alt>
				</a>
			  </div>
			</div>
			<div class="row">
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-1.jpg" alt>
				</a>
			  </div>
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-2.jpg" alt>
				</a>
			  </div>
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-1.jpg" alt>
				</a>
			  </div>
			  <div class="col-xs-6 col-md-3">
				<a href="#" class="thumbnail">
				  <img src="img/thumb-2.jpg" alt>
				</a>
			  </div>
			</div>
		</div>
	</div>
</div><!-- /.container -->



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: flash导航菜单 flash导航条 flash导航 flash菜单 flash下拉菜单 flash下拉导航菜单 h5动画导航 h5动画菜单 html5动画导航 html5动画菜单 收缩菜单 收缩导航 右键菜单 导航切换 菜单切换 浮动菜单 浮动导航 滑动导航菜单 滑动导航 滑动菜单 滚动导航菜单 滚动菜单 滚动导航 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 拖动 拖拽 拖动插件 拖拽插件 导航菜单 导航条 菜单栏 导航栏 分类导航 响应式导航条 响应式导航 图片拖动 图片拖拽 滑动选项卡 滑动切换 导航菜单插件 导航插件 菜单插件

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到