效果图如下所示:
代码如下:
XML/HTML Code复制内容到剪贴板 <!doctypehtml> <htmllang="zh"> <head> <metacharset="UTF-"> <metahttp-equiv="X-UA-Compatible"content="IE=edge,chrome="> <metaname="viewport"content="width=device-width,initial-scale=."> <title>jQuery比bootstrap效果还帅的响应式模态窗口插件-何问起</title><basetarget="_blank"/> <linkrel="stylesheet"href="http://hovertree.com/texiao/html//reset.css"><> <linkrel="stylesheet"href="http://hovertree.com/texiao/html//style.css"><> <!--[ifIE]> <scriptsrc="http://hovertree.com/texiao/html//htmlshiv.min.js"></script> <![endif]--> </head> <body> <divclass="sucaihuo-container"> <sectionclass="cd-section"> <aclass="cd-bouncy-nav-trigger"href="javascript:;"target="_self">显示菜单</a> </section> <div><ahref="http://hovertree.com/h/bjaf/menulayer.htm">原文</a><ahref="http://hovertree.com/">首页</a><ahref="http://hovertree.com/texiao/">特效</a><ahref="http://hovertree.com/texiao/keleyi/">向上弹出菜单</a> </div> <divclass="cd-bouncy-nav-modal"> <nav> <ulclass="cd-bouncy-nav"> <li><ahref="http://hovertree.com/">首页</a></li> <li><ahref="http://hovertree.com/menu/jquery/">jQuery</a></li> <li><ahref="http://hovertree.com/menu/php/">PHP</a></li> <li><ahref="http://hovertree.com/h/bjaf/hovertreebatch.htm">批量</a></li> <li><ahref="http://hovertree.com/texiao/easysector/">饼图</a></li> <li><ahref="http://tool.hovertree.com/">工具</a></li> </ul> </nav> <ahref="#"class="cd-close"target="_self">关闭菜单</a> </div> </div> <scriptsrc="http://hovertree.com/ziyuan/jquery/jquery-...min.js"></script> <scriptsrc="http://hovertree.com/texiao/html//main.js"></script><> </body> </html>
以上代码是小编给大家分享的HTML5手机端弹出遮罩菜单特效代码,希望对大家有所帮助。