透明div遮罩

css

<style>    
    .div-bg {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: initial;
      z-index: 88;
    }
</style>

div

<div class="div-bg"></div>

 

posted @ 2015-07-01 17:53  梦澈红尘  阅读(398)  评论(0编辑  收藏  举报