Commit c00c1964 authored by hewenhao's avatar hewenhao

feat: 发起pk动画

parent e1145a9c
......@@ -91,6 +91,26 @@
z-index: 21;
left: 50%;
margin-left: -155px;
animation-name: shake;
animation-timing-function: ease-out;
animation-fill-mode: backwards;
animation-duration: 1s;
animation-delay: .5s;
}
@keyframes shake {
0% {
opacity: 0;
transform: scale3d(5, 3, 1);
}
50% {
opacity: 1;
transform: scale3d(0.5, 0.5, 1);
}
100% {
transform: scale3d(1, 1, 1);
opacity: 1;
}
}
.pk_flash {
......@@ -126,6 +146,32 @@
.pk_flash_left, .pk_flash_right {
width: 360px;
height: 200px;
animation-timing-function: ease-out;
animation-duration: 1s;
animation-fill-mode: backwards;
animation-delay: 0.5s;
}
.pk_flash_left {
animation-name: flash_shake_1;
}
.pk_flash_right {
animation-name: flash_shake_1;
}
@keyframes flash_shake_1 {
0% {
opacity: 0;
}
25% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.bg_bottom {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment