html5手机端遮罩弹出菜单代码

时间:2021-07-07 16:56:13

效果体验:
http://hovertree.com/texiao/html5/17/

效果图:

html5手机端遮罩弹出菜单代码

代码如下:

 <!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>jQuery比bootstrap效果还帅的响应式模态窗口插件 - 何问起</title><base target="_blank" /> <link rel="stylesheet" href="http://hovertree.com/texiao/html5/17/reset.css"> <!-- CSS reset --> <link rel="stylesheet" href="http://hovertree.com/texiao/html5/17/style.css"> <!-- Resource style -->
<!--[if IE]>
<script src="http://hovertree.com/texiao/html5/4/html5shiv.min.js"></script>
<![endif]--> </head>
<body> <div class="sucaihuo-container">
<section class="cd-section">
<a class="cd-bouncy-nav-trigger" href="javascript:;" target="_self">显示菜单</a>
</section>
<div><a href="http://hovertree.com/h/bjaf/menulayer.htm">原文</a> <a href="http://hovertree.com/">首页</a> <a href="http://hovertree.com/texiao/">特效</a>  <a href="http://hovertree.com/texiao/keleyi/">向上弹出菜单</a>
</div>
<div class="cd-bouncy-nav-modal">
<nav>
<ul class="cd-bouncy-nav">
<li><a href="http://hovertree.com/">首页</a></li>
<li><a href="http://hovertree.com/menu/jquery/">jQuery</a></li>
<li><a href="http://hovertree.com/menu/php/">PHP</a></li>
<li><a href="http://hovertree.com/h/bjaf/hovertreebatch.htm">批量</a></li>
<li><a href="http://hovertree.com/texiao/easysector/">饼图</a></li>
<li><a href="http://tool.hovertree.com/">工具</a></li>
</ul>
</nav>
<a href="#0" class="cd-close" target="_self">关闭菜单</a>
</div>
</div>
<script src="http://hovertree.com/ziyuan/jquery/jquery-2.2.0.min.js"></script>
<script src="http://hovertree.com/texiao/html5/17/main.js"></script> <!-- Resource jQuery -->
</body>
</html>

更多特效: http://www.cnblogs.com/jihua/p/webfront.html