本文給大家分享html5手機端彈出遮罩菜單,通過點擊顯示菜單,菜單會飛的彈出,效果非常漂亮,對html5彈出遮罩菜單相關(guān)知識感興趣的朋友一起學(xué)習(xí)吧
效果圖如下所示:
代碼如下:
XML/HTML Code
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
<meta name="viewport" content="width=device-width, initial-scale=.">
<title>jQuery比bootstrap效果還帥的響應(yīng)式模態(tài)窗口插件 - 何問起</title><base target="_blank" />
<link rel="stylesheet" > <!-- CSS reset -->
<link rel="stylesheet" > <!-- Resource style -->
<!--[if IE]>
<script src="http://hovertree.com/texiao/html//htmlshiv.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 >原文</a> <a >首頁</a> <a >特效</a> <a >向上彈出菜單</a>
</div>
<div class="cd-bouncy-nav-modal">
<nav>
<ul class="cd-bouncy-nav">
<li><a >首頁</a></li>
<li><a >jQuery</a></li>
<li><a >PHP</a></li>
<li><a >批量</a></li>
<li><a >餅圖</a></li>
<li><a >工具</a></li>
</ul>
</nav>
<a href="#" class="cd-close" target="_self">關(guān)閉菜單</a>
</div>
</div>
<script src="http://hovertree.com/ziyuan/jquery/jquery-...min.js"></script>
<script src="http://hovertree.com/texiao/html//main.js"></script> <!-- Resource jQuery -->
</body>
</html>
以上代碼是小編給大家分享的HTML5手機端彈出遮罩菜單特效代碼,希望對大家有所幫助。