html,body{
height: 100%;
}
body{
position: absolute;
left: 50%; top: 50%;
bottom: -50%;
width: 100%;
height: 100%;
transform: translate3d(-0%,-0%,0);
}
.wrap{
position: relative;
height: 100%;
}
#main{
background-image: url(images/img1.jpg);
background-repeat: no-repeat;
background-size: 100% auto;
height: 100%;
position: relative;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
margin: 0 auto;
height: 100%;
}
#swiper1{
height: auto;
flex: 1;
background-image: url(images/img1.jpg);
background-repeat: no-repeat;
background-size: 100% auto;
height: 100%;
}
#question1{
height: 100%;
}
上一题
一键复制
编辑
Web IDE
原始数据
按行查看
历史