You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/ipad/css/index.css

41 lines
759 B

2 weeks ago
body,html{
margin:0;
padding:0;
}
.main{
height: calc(100vh);
background-image: url("../images/mainBg.png");
background-size: cover;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
}
.btnGroup{
display: flex;
3 days ago
width:75%;
2 weeks ago
}
.btnGroup .item{
flex: 1;
position: relative;
}
3 days ago
.btnGroup .item>img{
width:100%;
}
2 weeks ago
.btnGroup .item .text{
display: flex;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.btnGroup .item .text span{
margin-left:15px;
font-family: PingFang SC;
font-weight: bold;
3 days ago
font-size: 1.6rem;
2 weeks ago
color: #FFFFFF;
}