背景色(父级):
.popping-box-wrap {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(0,0,0,0.1);
}
白色弹框部分(子集):
.popping-box-con {
position: absolute;
width: 490px;
height: 458px;
box-sizing: border-box;
background: #fff;
top: 50%;
left: 50%;
margin-left: -245px;
margin-top: -208px;
}
样子:
蒙层+弹窗
最新推荐文章于 2024-02-29 15:08:06 发布