第一版
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
page {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding-top: 120rpx;
|
||||
box-sizing: border-box;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 556rpx;
|
||||
height: 556rpx;
|
||||
position: relative;
|
||||
margin: 0 auto 120rpx;
|
||||
}
|
||||
|
||||
.icon>view:nth-of-type(1) {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.icon>view:nth-of-type(2),
|
||||
.icon>view:nth-of-type(3) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 50%;
|
||||
animation: expand 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes expand {
|
||||
0% {
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
background-color: #3194FB;
|
||||
}
|
||||
100% {
|
||||
width: 556rpx;
|
||||
height: 556rpx;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.description>view:nth-of-type(1) {
|
||||
color: #252535;
|
||||
width: 100%;
|
||||
height: 36rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
line-height: 36rpx;
|
||||
text-align: center;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.description>view:nth-of-type(2) {
|
||||
color: #808080;
|
||||
width: 100%;
|
||||
height: 30rpx;
|
||||
font-size: 30rpx;
|
||||
line-height: 30rpx;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user