11款modernizr html5 css3动画弹出遮罩层菜单导航



155 618 207



特效描述:动画弹出遮罩层 菜单导航,

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/style1.css" />

2. 引入JS

<script type="text/javascript" src="js/modernizr.custom.js"></script>
<script type="text/javascript" src="js/classie.js"></script>
<script type="text/javascript" src="js/demo1.js"></script>

3. HTML代码

<div class="container">
	<nav class="codrops-demos">
			<a class="current-demo" href="index.html">Huge Inc</a>
			<a href="index2.html">Corner</a>
			<a href="index3.html">Slide down</a>
			<a href="index5.html">Scale</a>
			<a href="index6.html">Door</a>
			<a href="index7.html">Content Push</a><br/>
			<a href="index8.html">Content Scale</a>
			<a href="index9.html">Corner Shape</a>
			<a href="index10.html">Little Boxes</a>
			<a href="index11.html">Simple Genie</a>
			<a href="index12.html">Genie</a>
		</nav>
	<section>
		<p><button id="trigger-overlay" type="button">Open Overlay</button></p>
	</section>
</div><!-- /container -->
<!-- open/close -->
<div class="overlay overlay-hugeinc">
	<button type="button" class="overlay-close">Close</button>
	<nav>
		<ul>
			<li><a href="#">Home</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">Work</a></li>
			<li><a href="#">Clients</a></li>
			<li><a href="#">Contact</a></li>
		</ul>
	</nav>
</div>



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


热门标签: 加载动画 弹出层拖动 窗口提示框 html5弹窗动画 html5动画h5动画 html5按钮动画 提示框/弹出层 html5文字动画

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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