react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
63 lines (59 loc) • 1.5 kB
text/less
.modal {
position: fixed;
z-index: 999;
width: 100%;
height: 100%;
top:0;
left: 50%;
transform: translate(-50%);
.mask {
position: absolute;
top:0;
left:0;
background: rgba(0,0,0,.8);
width: 100%;
height: 100%;
z-index:9;
}
.container {
position: absolute;
z-index:10;
width: 660px;
top: 100px;
left: 50%;
transform: translate(-50%);
header {
width: 496px;
height: 159px;
line-height: 100px;
text-align: center;
color: #fff;
background: url("../../../../public/images/lottery/modal-title-bg.png") no-repeat;
background-size: 100% 100%;
margin: 0 auto;
transform: translateY(92px);
font-weight:500;
font-size:32px;
}
.content {
width: 100%;
min-height: 280px;
height: auto;
background:rgba(255,255,255,1);
border-radius:36px;
padding: 75px 50px 56px;
}
footer {
}
.close {
position: absolute;
bottom: -90px;
left: 50%;
transform: translate(-50%);
width: 60px;
height: 60px;
background: url("../../../../public/images/lottery/modal-close.png") no-repeat;
background-size: 100% 100%;
}
}
}