遮罩层
文章目录
全屏遮罩层
.zhezhao {
position: absolute;
width: 150px;
top: 0;
z-index: 30;
background-color: rgba(0,0,0,0.8);
padding: 15px;
}
/*全屏*/
div {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5);
}
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论