CSS创建一个遮罩层

时间:2014-08-12 08:58:33   收藏:0   阅读:194
   .layer{ 
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=50);
    z-index: 99;
    height: 100%;
    margin:0 auto;
    }

创建一个遮罩层。

CSS创建一个遮罩层,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!