HTML5手机端弹出遮罩菜单特效代码
程序员文章站
2023-11-30 23:43:28
本文给大家分享html5手机端弹出遮罩菜单,通过点击显示菜单,菜单会飞的弹出,效果非常漂亮,对html5弹出遮罩菜单相关知识感兴趣的朋友一起学习吧... 16-01-27...
效果图如下所示:
代码如下:
代码如下:
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效果还帅的响应式模态窗口插件 - 何问起</title><base target="_blank" />
- <link rel="stylesheet" href="http://hovertree.com/texiao/html//reset.css"> <!-- css reset -->
- <link rel="stylesheet" href="http://hovertree.com/texiao/html//style.css"> <!-- 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 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="#" class="cd-close" target="_self">关闭菜单</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手机端弹出遮罩菜单特效代码,希望对大家有所帮助。
上一篇: Html5实现二维码扫描并解析