页面mask css

<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>

  

上一篇:java设计模式(2)---六大原则


下一篇:noip200705统计数字