168 lines
3.4 KiB
Plaintext
168 lines
3.4 KiB
Plaintext
.btn {
|
|
padding: 80rpx 100rpx 40rpx;
|
|
}
|
|
|
|
.spinner {
|
|
margin: 200rpx auto 80rpx;
|
|
width: 400rpx;
|
|
height: 400rpx;
|
|
position: relative;
|
|
border-radius: 400rpx;
|
|
border: 10rpx solid green;
|
|
}
|
|
|
|
.spinner .time {
|
|
font-family: 'Consolas', 'Lucida Console', 'DejaVu Sans Mono', monospace;
|
|
position: absolute;
|
|
width: 400rpx;
|
|
height: 320rpx;
|
|
padding-top: 80rpx;
|
|
text-align: center;
|
|
color: green;
|
|
}
|
|
|
|
.spinner .time text {
|
|
display: block;
|
|
}
|
|
.wangdian, .macid {
|
|
line-height: 2;
|
|
font-size: 40rpx;
|
|
}
|
|
.mactime {
|
|
font-size: 80rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.container1 > view, .container2 > view, .container3 > view, .container4 > view, .container5 > view {
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
background-color: green;
|
|
border-radius: 100%;
|
|
position: absolute;
|
|
-webkit-animation: bouncedelay 2.2s infinite ease-in-out;
|
|
animation: bouncedelay 2.2s infinite ease-in-out;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
}
|
|
.spinner .spinner-container {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.container2 {
|
|
-webkit-transform: rotateZ(22.5deg);
|
|
transform: rotateZ(22.5deg);
|
|
}
|
|
.container3 {
|
|
-webkit-transform: rotateZ(45deg);
|
|
transform: rotateZ(45deg);
|
|
}
|
|
.container4 {
|
|
-webkit-transform: rotateZ(67.5deg);
|
|
transform: rotateZ(67.5deg);
|
|
}
|
|
.container5 {
|
|
-webkit-transform: rotateZ(90deg);
|
|
transform: rotateZ(90deg);
|
|
}
|
|
|
|
.circle1 { top: 0; left: 0; }
|
|
.circle2 { top: 0; right: 0; }
|
|
.circle3 { right: 0; bottom: 0; }
|
|
.circle4 { left: 0; bottom: 0; }
|
|
.container1 .circle1 {
|
|
-webkit-animation-delay: -2s;
|
|
animation-delay: -2s;
|
|
}
|
|
.container2 .circle1 {
|
|
-webkit-animation-delay: -1.9s;
|
|
animation-delay: -1.9s;
|
|
}
|
|
.container3 .circle1 {
|
|
-webkit-animation-delay: -1.8s;
|
|
animation-delay: -1.8s;
|
|
}
|
|
.container4 .circle1 {
|
|
-webkit-animation-delay: -1.7s;
|
|
animation-delay: -1.7s;
|
|
}
|
|
.container5 .circle1 {
|
|
-webkit-animation-delay: -1.6s;
|
|
animation-delay: -1.6s;
|
|
}
|
|
.container1 .circle2 {
|
|
-webkit-animation-delay: -1.5s;
|
|
animation-delay: -1.5s;
|
|
}
|
|
.container2 .circle2 {
|
|
-webkit-animation-delay: -1.4s;
|
|
animation-delay: -1.4s;
|
|
}
|
|
.container3 .circle2 {
|
|
-webkit-animation-delay: -1.3s;
|
|
animation-delay: -1.3s;
|
|
}
|
|
.container4 .circle2 {
|
|
-webkit-animation-delay: -1.2s;
|
|
animation-delay: -1.2s;
|
|
}
|
|
.container5 .circle2 {
|
|
-webkit-animation-delay: -1.1s;
|
|
animation-delay: -1.1s;
|
|
}
|
|
.container1 .circle3 {
|
|
-webkit-animation-delay: -1s;
|
|
animation-delay: -1s;
|
|
}
|
|
.container2 .circle3 {
|
|
-webkit-animation-delay: -0.9s;
|
|
animation-delay: -0.9s;
|
|
}
|
|
.container3 .circle3 {
|
|
-webkit-animation-delay: -0.8s;
|
|
animation-delay: -0.8s;
|
|
}
|
|
.container4 .circle3 {
|
|
-webkit-animation-delay: -0.7s;
|
|
animation-delay: -0.7s;
|
|
}
|
|
.container5 .circle3 {
|
|
-webkit-animation-delay: -0.6s;
|
|
animation-delay: -0.6s;
|
|
}
|
|
.container1 .circle4 {
|
|
-webkit-animation-delay: -0.5s;
|
|
animation-delay: -0.5s;
|
|
}
|
|
.container2 .circle4 {
|
|
-webkit-animation-delay: -0.4s;
|
|
animation-delay: -0.4s;
|
|
}
|
|
.container3 .circle4 {
|
|
-webkit-animation-delay: -0.3s;
|
|
animation-delay: -0.3s;
|
|
}
|
|
.container4 .circle4 {
|
|
-webkit-animation-delay: -0.2s;
|
|
animation-delay: -0.2s;
|
|
}
|
|
.container5 .circle4 {
|
|
-webkit-animation-delay: -0.1s;
|
|
animation-delay: -0.1s;
|
|
}
|
|
@-webkit-keyframes bouncedelay {
|
|
0%, 80%, 100% { -webkit-transform: scale(0.0) }
|
|
40% { -webkit-transform: scale(2.0) }
|
|
}
|
|
@keyframes bouncedelay {
|
|
0%, 80%, 100% {
|
|
transform: scale(0.0);
|
|
-webkit-transform: scale(0.0);
|
|
} 40% {
|
|
transform: scale(2.0);
|
|
-webkit-transform: scale(2.0);
|
|
}
|
|
}
|
|
|
|
|