纯css3左侧图标菜单栏点击全屏页面切换效果



360 1438 480



特效描述:纯css3 左侧图标菜单栏 点击全屏页面切换,纯css3页面切换,图标菜单栏

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css'>
<link rel="stylesheet" type="text/css" href="css/demo.css">

2. 引入JS

<script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>

3. HTML代码

	<div class="ct" id="t1">
	  <div class="ct" id="t2">
	    <div class="ct" id="t3">
	      <div class="ct" id="t4">
	         <div class="ct" id="t5">
	          <ul id="menu">
	            <a href="#t1"><li class="icon fa fa-bolt" id="uno"></li></a>
	            <a href="#t2"><li class="icon fa fa-keyboard-o" id="dos"></li></a>
	            <a href="#t3"><li class="icon fa fa-rocket" id="tres"></li></a>
	            <a href="#t4"><li class="icon fa fa-dribbble" id="cuatro"></li></a>
	            <a href="#t5"><li class="icon fa fa-plus-circle" id="cinco"></li></a>
	          </ul>
	          <div class="page" id="p1">
	             <section class="icon fa fa-bolt"><span class="title">Bolt</span><span class="hint">Like this pen to see the magic!...<br> Just kidding, it won't happen anything but I'll be really happy If you do so.</span></section>  
	          </div>
	          <div class="page" id="p2">
	            <section class="icon fa fa-keyboard-o"><span class="title">Type</span></section>
	          </div>  
	          <div class="page" id="p3">
	            <section class="icon fa fa-rocket"><span class="title">Rocket</span></section>
	          </div>
	          <div class="page" id="p4">
	            <section class="icon fa fa-dribbble">
	              <span class="title">Dribbble</span>
	              <p class="hint">
	                Im ready to play, <span class="hint line-trough">invite me </span> find me
	              </p>
	              <p class="hint">Already invited by Stan Peters</p>
	            </section>
	          </div> 
	          <div class="page" id="p5">
	            <section class="icon fa fa-plus-circle">
	              <span class="title">More</span>
	              <p class="hint">
	                <span>You love one page & CSS only stuff? </span><br/>
	                check this pen "Pure CSS One page vertical navigation"
	              </p>
	            </section>
	          </div> 
	        </div>
	      </div>
	    </div>
	  </div>
	</div>



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


热门标签: 滚动导航菜单 滑动导航菜单 浮动导航菜单 导航切换 右键菜单 收缩导航菜单 html5动画导航菜单 flash导航菜单 滑动 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴 全屏焦点图 全屏切换 宽屏全屏 导航菜单 图片全屏 图片滑动 图片切换 图标导航菜单 背景切换 侧边导航菜单

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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