代码改变世界

css遮罩层

2013-04-04 15:57  yangpan  阅读(175)  评论(0编辑  收藏  举报

.mark{
position: fixed;
_position: absolute;
z-index: 100;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
background: rgb(34,34,34);
cursor: pointer;
opacity: 0.5;
filter: alpha(opacity=50);
}