CSS创建一个遮罩层

   .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;
    }

创建一个遮罩层。

posted @ 2014-08-12 08:16  b̶i̶n̶g̶.̶  阅读(243)  评论(0编辑  收藏  举报