html5+css3实现页面底部问卷调查
摘要:html5+css3实现页面底部问卷调查,支持手机上所有浏览器
html5代码
运行代码
<!DOCTYPE html> <html> <head> <meta name="apple-touch-fullscreen" content="YES" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="format-detection" content="telephone=no" /> <style type="text/css"> body{margin:0px;padding:0px;} .toasttj_trol{width:300px; padding:0px 10px 0;margin:0 auto;} .toasttj{float:left;color:#fff;position: absolute;background:rgba(0, 0, 0, 0.4);z-index:999;border-radius: 1px;font-size:1em;position: fixed;bottom: 0px;width: 100%;display:block;height: 30px;font-size:20px;opacity:0.7;} </style> </head> <body> <section id="toastId" class="toasttj"> <div class="toasttj_trol"> <span style="float:left;padding-top:3px;"><a href="http://www.sojump.com/m/3829391.aspx">来吐槽!给推荐结果打分!</a></span> <span style="float:right;width:30px;height:30px;padding-top:3px;padding-left:10px;"><img src="http://image.kuwo.cn/album/sj/individuation/dcx.png" width="13" height="13"/></span> </div> </section> <script type="text/javascript"> //web开发技术提供 //网址:www.webkfa.com function hidets(){ var obj=document.getElementById("toastId"); obj.style.display="none"; } </script> </body> </html>
相关文章
最新发布
阅读排行
热门文章
猜你喜欢