半透明遮罩实现全屏幕遮盖css实现
DIV+CSS 2012/8/2 16:16:28 点击:不统计
http://%77%77%77%2E%66网站制作%6F学习网%72%61%73%70%2E%63%6E
<style>
*html body{height:100%}
.mask{
position:absolute;
left:0;
top:0;
z-index:100;
height:100%;
width:100%;
background:black;
opacity:0.4;
filter:alpha(opacity=40)
}
</style>
<div class="mask"></div>
在ie67下如果不添加 *html body{height:100%} 的话有可能不起作用
·上一篇:chrome css hack >> ·下一篇:文字间距,字母间距设置 >>