首页 > Web开发 > 详细

页面mask css

时间:2016-05-22 10:55:46      阅读:209      评论:0      收藏:0      [点我收藏+]
<html>
    <head>
        <style type="text/css">
          .share_mask {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 9998;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,.6);
        }
        .ip_none {
    position: absolute;
    top: 40%;
    left: 50%;
    margin-top: -150px;
    margin-left: -150px;
    width: 300px;
    height: 300px;
}
        </style>
    </head>
    <body>
        <div class="share_mask" style="display:none" > 
   
  <img class="ip_none" src="http://cx.hedayikao.com/Content/imgs/qrcode_for_gh_30e7ad15afa9_860.jpg" data-src="http://cx.hedayikao.com/Content/imgs/qrcode_for_gh_30e7ad15afa9_860.jpg"> 
 </div>
    </body>
</html>

  

页面mask css

原文:http://www.cnblogs.com/encore620/p/5516257.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!