css实现文字欢迎动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现文字欢迎动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
html,
body {
height: 100vh;
width: 100vw;
padding: 0;
margin: 0;
}
body {
font-family: 'Montserrat', sans-serif;
background: #fff;
position: relative;
overflow: hidden;
font-size: 100%;
text-align: center;
}
.criterion {
font-size: 1.6rem;
position: absolute;
top: 50%;
left: 50%;
height: 0;
width: 0;
transform: translate(-20px, -20px);
}
/*
* background
*/
.background {
position: absolute;
top: 0;
height: 100vh;
width: 0;
-webkit-animation: background-animation 2s ease-in-out 4s 1 normal forwards;
animation: background-animation 2s ease-in-out 4s 1 normal forwards;
}
.background0 {
left: 0%;
height: 100vh;
background-color: #eb4747;
}
.background1 {
left: 12.5%;
height: 100vh;
background-color: #ebc247;
}
.background2 {
left: 25%;
height: 100vh;
background-color: #99eb47;
}
.background3 {
left: 37.5%;
height: 100vh;
background-color: #47eb70;
}
.background4 {
left: 50%;
height: 100vh;
background-color: #47ebeb;
}
.background5 {
left: 62.5%;
height: 100vh;
background-color: #4770eb;
}
.background6 {
left: 75%;
height: 100vh;
background-color: #9947eb;
}
.background7 {
left: 87.5%;
height: 100vh;
background-color: #eb47c2;
}
.background8 {
left: 100%;
height: 100vh;
background-color: #eb4747;
}
/*
* text
*/
.text {
position: absolute;
width: 40px;
line-height: 40px;
opacity: 0;
overflow: hidden;
}
.text::after {
z-index: -1;
content: '';
display: inline-block;
position: absolute;
top: 0;
left: 0;
width: 0;
height: 40px;
}
.text0 {
left: -140px;
top: 0;
-webkit-animation: text-animation0 1s ease-in-out 1s 1 normal forwards, text2-animation0 2s ease-in-out 5s 1 normal forwards;
animation: text-animation0 1s ease-in-out 1s 1 normal forwards, text2-animation0 2s ease-in-out 5s 1 normal forwards;
}
.text0::after {
-webkit-animation: text-after-animation0 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation0 2s ease-in-out 3s 1 normal forwards;
}
.text1 {
left: -100px;
top: 0;
-webkit-animation: text-animation1 1s ease-in-out 1.2s 1 normal forwards, text2-animation1 2s ease-in-out 5s 1 normal forwards;
animation: text-animation1 1s ease-in-out 1.2s 1 normal forwards, text2-animation1 2s ease-in-out 5s 1 normal forwards;
}
.text1::after {
-webkit-animation: text-after-animation1 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation1 2s ease-in-out 3s 1 normal forwards;
}
.text2 {
left: -60px;
top: 0;
-webkit-animation: text-animation2 1s ease-in-out 1.4s 1 normal forwards, text2-animation2 2s ease-in-out 5s 1 normal forwards;
animation: text-animation2 1s ease-in-out 1.4s 1 normal forwards, text2-animation2 2s ease-in-out 5s 1 normal forwards;
}
.text2::after {
-webkit-animation: text-after-animation2 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation2 2s ease-in-out 3s 1 normal forwards;
}
.text3 {
left: -20px;
top: 0;
-webkit-animation: text-animation3 1s ease-in-out 1.6s 1 normal forwards, text2-animation3 2s ease-in-out 5s 1 normal forwards;
animation: text-animation3 1s ease-in-out 1.6s 1 normal forwards, text2-animation3 2s ease-in-out 5s 1 normal forwards;
}
.text3::after {
-webkit-animation: text-after-animation3 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation3 2s ease-in-out 3s 1 normal forwards;
}
.text4 {
left: 20px;
top: 0;
-webkit-animation: text-animation4 1s ease-in-out 1.8s 1 normal forwards, text2-animation4 2s ease-in-out 5s 1 normal forwards;
animation: text-animation4 1s ease-in-out 1.8s 1 normal forwards, text2-animation4 2s ease-in-out 5s 1 normal forwards;
}
.text4::after {
-webkit-animation: text-after-animation4 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation4 2s ease-in-out 3s 1 normal forwards;
}
.text5 {
left: 60px;
top: 0;
-webkit-animation: text-animation5 1s ease-in-out 2s 1 normal forwards, text2-animation5 2s ease-in-out 5s 1 normal forwards;
animation: text-animation5 1s ease-in-out 2s 1 normal forwards, text2-animation5 2s ease-in-out 5s 1 normal forwards;
}
.text5::after {
-webkit-animation: text-after-animation5 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation5 2s ease-in-out 3s 1 normal forwards;
}
.text6 {
left: 100px;
top: 0;
-webkit-animation: text-animation6 1s ease-in-out 2.2s 1 normal forwards, text2-animation6 2s ease-in-out 5s 1 normal forwards;
animation: text-animation6 1s ease-in-out 2.2s 1 normal forwards, text2-animation6 2s ease-in-out 5s 1 normal forwards;
}
.text6::after {
-webkit-animation: text-after-animation6 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation6 2s ease-in-out 3s 1 normal forwards;
}
.text7 {
left: 140px;
top: 0;
-webkit-animation: text-animation7 1s ease-in-out 2.4s 1 normal forwards, text2-animation7 2s ease-in-out 5s 1 normal forwards;
animation: text-animation7 1s ease-in-out 2.4s 1 normal forwards, text2-animation7 2s ease-in-out 5s 1 normal forwards;
}
.text7::after {
-webkit-animation: text-after-animation7 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation7 2s ease-in-out 3s 1 normal forwards;
}
.text8 {
left: 180px;
top: 0;
-webkit-animation: text-animation8 1s ease-in-out 2.6s 1 normal forwards, text2-animation8 2s ease-in-out 5s 1 normal forwards;
animation: text-animation8 1s ease-in-out 2.6s 1 normal forwards, text2-animation8 2s ease-in-out 5s 1 normal forwards;
}
.text8::after {
-webkit-animation: text-after-animation8 2s ease-in-out 3s 1 normal forwards;
animation: text-after-animation8 2s ease-in-out 3s 1 normal forwards;
}
@-webkit-keyframes text-animation0 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation0 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation1 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation1 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation2 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation2 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation3 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation3 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation4 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation4 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation5 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation5 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation6 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation6 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation7 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation7 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-animation8 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@keyframes text-animation8 {
0% {
transform: scale(0, 0);
opacity: 0;
}
50% {
transform: scale(3, 3);
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}
@-webkit-keyframes text-after-animation0 {
0% {
width: 0px;
background-color: #eb4747;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation0 {
0% {
width: 0px;
background-color: #eb4747;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation1 {
0% {
width: 0px;
background-color: #ebc247;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation1 {
0% {
width: 0px;
background-color: #ebc247;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation2 {
0% {
width: 0px;
background-color: #99eb47;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation2 {
0% {
width: 0px;
background-color: #99eb47;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation3 {
0% {
width: 0px;
background-color: #47eb70;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation3 {
0% {
width: 0px;
background-color: #47eb70;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation4 {
0% {
width: 0px;
background-color: #47ebeb;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation4 {
0% {
width: 0px;
background-color: #47ebeb;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation5 {
0% {
width: 0px;
background-color: #4770eb;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation5 {
0% {
width: 0px;
background-color: #4770eb;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation6 {
0% {
width: 0px;
background-color: #9947eb;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation6 {
0% {
width: 0px;
background-color: #9947eb;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation7 {
0% {
width: 0px;
background-color: #eb47c2;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation7 {
0% {
width: 0px;
background-color: #eb47c2;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text-after-animation8 {
0% {
width: 0px;
background-color: #eb4747;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@keyframes text-after-animation8 {
0% {
width: 0px;
background-color: #eb4747;
opacity: 1;
}
50% {
width: 40px;
opacity: 1;
}
100% {
left: 40px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation0 {
0% {
left: -140px;
opacity: 1;
}
50% {
left: -100px;
opacity: 0;
}
100% {
left: -100px;
opacity: 0;
}
}
@keyframes text2-animation0 {
0% {
left: -140px;
opacity: 1;
}
50% {
left: -100px;
opacity: 0;
}
100% {
left: -100px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation1 {
0% {
left: -100px;
opacity: 1;
}
50% {
left: -60px;
opacity: 0;
}
100% {
left: -60px;
opacity: 0;
}
}
@keyframes text2-animation1 {
0% {
left: -100px;
opacity: 1;
}
50% {
left: -60px;
opacity: 0;
}
100% {
left: -60px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation2 {
0% {
left: -60px;
opacity: 1;
}
50% {
left: -20px;
opacity: 0;
}
100% {
left: -20px;
opacity: 0;
}
}
@keyframes text2-animation2 {
0% {
left: -60px;
opacity: 1;
}
50% {
left: -20px;
opacity: 0;
}
100% {
left: -20px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation3 {
0% {
left: -20px;
opacity: 1;
}
50% {
left: 20px;
opacity: 0;
}
100% {
left: 20px;
opacity: 0;
}
}
@keyframes text2-animation3 {
0% {
left: -20px;
opacity: 1;
}
50% {
left: 20px;
opacity: 0;
}
100% {
left: 20px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation4 {
0% {
left: 20px;
opacity: 1;
}
50% {
left: 60px;
opacity: 0;
}
100% {
left: 60px;
opacity: 0;
}
}
@keyframes text2-animation4 {
0% {
left: 20px;
opacity: 1;
}
50% {
left: 60px;
opacity: 0;
}
100% {
left: 60px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation5 {
0% {
left: 60px;
opacity: 1;
}
50% {
left: 100px;
opacity: 0;
}
100% {
left: 100px;
opacity: 0;
}
}
@keyframes text2-animation5 {
0% {
left: 60px;
opacity: 1;
}
50% {
left: 100px;
opacity: 0;
}
100% {
left: 100px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation6 {
0% {
left: 100px;
opacity: 1;
}
50% {
left: 140px;
opacity: 0;
}
100% {
left: 140px;
opacity: 0;
}
}
@keyframes text2-animation6 {
0% {
left: 100px;
opacity: 1;
}
50% {
left: 140px;
opacity: 0;
}
100% {
left: 140px;
opacity: 0;
}
}
@-webkit-keyframes text2-animation7 {
0% {
left: 140px;
opacity: 1;
top: 0;
transform: scale(1, 1);
}
50% {
left: 180px;
opacity: 1;
transform: scale(1, 1);
}
65% {
top: 0;
transform: scale(1, 1);
}
70% {
transform: scale(3, 3) rotate(90deg);
top: -30px;
}
75% {
left: 180px;
top: 0;
opacity: 1;
transform: scale(2, 2) rotate(90deg);
}
85% {
left: 180px;
}
100% {
left: 1000px;
opacity: 0;
transform: scale(2, 2) rotate(90deg);
}
}
@keyframes text2-animation7 {
0% {
left: 140px;
opacity: 1;
top: 0;
transform: scale(1, 1);
}
50% {
left: 180px;
opacity: 1;
transform: scale(1, 1);
}
65% {
top: 0;
transform: scale(1, 1);
}
70% {
transform: scale(3, 3) rotate(90deg);
top: -30px;
}
75% {
left: 180px;
top: 0;
opacity: 1;
transform: scale(2, 2) rotate(90deg);
}
85% {
left: 180px;
}
100% {
left: 1000px;
opacity: 0;
transform: scale(2, 2) rotate(90deg);
}
}
@-webkit-keyframes text2-animation8 {
0% {
left: 180px;
opacity: 1;
}
50% {
left: 220px;
opacity: 0;
}
100% {
left: 220px;
opacity: 0;
}
}
@keyframes text2-animation8 {
0% {
left: 180px;
opacity: 1;
}
50% {
left: 220px;
opacity: 0;
}
100% {
left: 220px;
opacity: 0;
}
}
/*
* frame
*/
.frame {
position: absolute;
width: 40px;
height: 40px;
border-radius: 50%;
opacity: 0;
}
.frame0 {
left: -140px;
top: 0;
-webkit-animation: frame-animation0 1s ease-in-out 0ms 1 normal forwards;
animation: frame-animation0 1s ease-in-out 0ms 1 normal forwards;
background-color: #eb4747;
}
.frame1 {
left: -100px;
top: 0;
-webkit-animation: frame-animation1 1s ease-in-out 200ms 1 normal forwards;
animation: frame-animation1 1s ease-in-out 200ms 1 normal forwards;
background-color: #ebc247;
}
.frame2 {
left: -60px;
top: 0;
-webkit-animation: frame-animation2 1s ease-in-out 400ms 1 normal forwards;
animation: frame-animation2 1s ease-in-out 400ms 1 normal forwards;
background-color: #99eb47;
}
.frame3 {
left: -20px;
top: 0;
-webkit-animation: frame-animation3 1s ease-in-out 600ms 1 normal forwards;
animation: frame-animation3 1s ease-in-out 600ms 1 normal forwards;
background-color: #47eb70;
}
.frame4 {
left: 20px;
top: 0;
-webkit-animation: frame-animation4 1s ease-in-out 800ms 1 normal forwards;
animation: frame-animation4 1s ease-in-out 800ms 1 normal forwards;
background-color: #47ebeb;
}
.frame5 {
left: 60px;
top: 0;
-webkit-animation: frame-animation5 1s ease-in-out 1000ms 1 normal forwards;
animation: frame-animation5 1s ease-in-out 1000ms 1 normal forwards;
background-color: #4770eb;
}
.frame6 {
left: 100px;
top: 0;
-webkit-animation: frame-animation6 1s ease-in-out 1200ms 1 normal forwards;
animation: frame-animation6 1s ease-in-out 1200ms 1 normal forwards;
background-color: #9947eb;
}
.frame7 {
left: 140px;
top: 0;
-webkit-animation: frame-animation7 1s ease-in-out 1400ms 1 normal forwards;
animation: frame-animation7 1s ease-in-out 1400ms 1 normal forwards;
background-color: #eb47c2;
}
.frame8 {
left: 180px;
top: 0;
-webkit-animation: frame-animation8 1s ease-in-out 1600ms 1 normal forwards;
animation: frame-animation8 1s ease-in-out 1600ms 1 normal forwards;
background-color: #eb4747;
}
@-webkit-keyframes frame-animation0 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation0 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation1 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation1 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation2 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation2 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation3 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation3 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation4 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation4 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation5 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation5 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation6 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation6 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation7 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation7 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@-webkit-keyframes frame-animation8 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@keyframes frame-animation8 {
0% {
transform: translateY(-1000px);
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
/*
* particle
*/
.particle {
position: absolute;
width: 40px;
height: 40px;
border-radius: 50%;
}
.particle00 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation00 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation00 1s ease-in-out 1s 1 normal forwards;
}
.particle01 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation01 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation01 1s ease-in-out 1s 1 normal forwards;
}
.particle02 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation02 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation02 1s ease-in-out 1s 1 normal forwards;
}
.particle03 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation03 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation03 1s ease-in-out 1s 1 normal forwards;
}
.particle04 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation04 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation04 1s ease-in-out 1s 1 normal forwards;
}
.particle05 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation05 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation05 1s ease-in-out 1s 1 normal forwards;
}
.particle06 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation06 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation06 1s ease-in-out 1s 1 normal forwards;
}
.particle07 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation07 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation07 1s ease-in-out 1s 1 normal forwards;
}
.particle08 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation08 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation08 1s ease-in-out 1s 1 normal forwards;
}
.particle09 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation09 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation09 1s ease-in-out 1s 1 normal forwards;
}
.particle010 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation010 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation010 1s ease-in-out 1s 1 normal forwards;
}
.particle011 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation011 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation011 1s ease-in-out 1s 1 normal forwards;
}
.particle012 {
left: -140px;
opacity: 0;
background-color: #eb4747;
-webkit-animation: particle-animation012 1s ease-in-out 1s 1 normal forwards;
animation: particle-animation012 1s ease-in-out 1s 1 normal forwards;
}
.particle10 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation10 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation10 1s ease-in-out 1.2s 1 normal forwards;
}
.particle11 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation11 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation11 1s ease-in-out 1.2s 1 normal forwards;
}
.particle12 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation12 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation12 1s ease-in-out 1.2s 1 normal forwards;
}
.particle13 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation13 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation13 1s ease-in-out 1.2s 1 normal forwards;
}
.particle14 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation14 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation14 1s ease-in-out 1.2s 1 normal forwards;
}
.particle15 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation15 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation15 1s ease-in-out 1.2s 1 normal forwards;
}
.particle16 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation16 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation16 1s ease-in-out 1.2s 1 normal forwards;
}
.particle17 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation17 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation17 1s ease-in-out 1.2s 1 normal forwards;
}
.particle18 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation18 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation18 1s ease-in-out 1.2s 1 normal forwards;
}
.particle19 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation19 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation19 1s ease-in-out 1.2s 1 normal forwards;
}
.particle110 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation110 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation110 1s ease-in-out 1.2s 1 normal forwards;
}
.particle111 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation111 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation111 1s ease-in-out 1.2s 1 normal forwards;
}
.particle112 {
left: -100px;
opacity: 0;
background-color: #ebc247;
-webkit-animation: particle-animation112 1s ease-in-out 1.2s 1 normal forwards;
animation: particle-animation112 1s ease-in-out 1.2s 1 normal forwards;
}
.particle20 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation20 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation20 1s ease-in-out 1.4s 1 normal forwards;
}
.particle21 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation21 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation21 1s ease-in-out 1.4s 1 normal forwards;
}
.particle22 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation22 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation22 1s ease-in-out 1.4s 1 normal forwards;
}
.particle23 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation23 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation23 1s ease-in-out 1.4s 1 normal forwards;
}
.particle24 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation24 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation24 1s ease-in-out 1.4s 1 normal forwards;
}
.particle25 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation25 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation25 1s ease-in-out 1.4s 1 normal forwards;
}
.particle26 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation26 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation26 1s ease-in-out 1.4s 1 normal forwards;
}
.particle27 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation27 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation27 1s ease-in-out 1.4s 1 normal forwards;
}
.particle28 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation28 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation28 1s ease-in-out 1.4s 1 normal forwards;
}
.particle29 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation29 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation29 1s ease-in-out 1.4s 1 normal forwards;
}
.particle210 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation210 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation210 1s ease-in-out 1.4s 1 normal forwards;
}
.particle211 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation211 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation211 1s ease-in-out 1.4s 1 normal forwards;
}
.particle212 {
left: -60px;
opacity: 0;
background-color: #99eb47;
-webkit-animation: particle-animation212 1s ease-in-out 1.4s 1 normal forwards;
animation: particle-animation212 1s ease-in-out 1.4s 1 normal forwards;
}
.particle30 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation30 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation30 1s ease-in-out 1.6s 1 normal forwards;
}
.particle31 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation31 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation31 1s ease-in-out 1.6s 1 normal forwards;
}
.particle32 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation32 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation32 1s ease-in-out 1.6s 1 normal forwards;
}
.particle33 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation33 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation33 1s ease-in-out 1.6s 1 normal forwards;
}
.particle34 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation34 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation34 1s ease-in-out 1.6s 1 normal forwards;
}
.particle35 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation35 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation35 1s ease-in-out 1.6s 1 normal forwards;
}
.particle36 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation36 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation36 1s ease-in-out 1.6s 1 normal forwards;
}
.particle37 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation37 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation37 1s ease-in-out 1.6s 1 normal forwards;
}
.particle38 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation38 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation38 1s ease-in-out 1.6s 1 normal forwards;
}
.particle39 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation39 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation39 1s ease-in-out 1.6s 1 normal forwards;
}
.particle310 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation310 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation310 1s ease-in-out 1.6s 1 normal forwards;
}
.particle311 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation311 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation311 1s ease-in-out 1.6s 1 normal forwards;
}
.particle312 {
left: -20px;
opacity: 0;
background-color: #47eb70;
-webkit-animation: particle-animation312 1s ease-in-out 1.6s 1 normal forwards;
animation: particle-animation312 1s ease-in-out 1.6s 1 normal forwards;
}
.particle40 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation40 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation40 1s ease-in-out 1.8s 1 normal forwards;
}
.particle41 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation41 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation41 1s ease-in-out 1.8s 1 normal forwards;
}
.particle42 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation42 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation42 1s ease-in-out 1.8s 1 normal forwards;
}
.particle43 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation43 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation43 1s ease-in-out 1.8s 1 normal forwards;
}
.particle44 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation44 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation44 1s ease-in-out 1.8s 1 normal forwards;
}
.particle45 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation45 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation45 1s ease-in-out 1.8s 1 normal forwards;
}
.particle46 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation46 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation46 1s ease-in-out 1.8s 1 normal forwards;
}
.particle47 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation47 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation47 1s ease-in-out 1.8s 1 normal forwards;
}
.particle48 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation48 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation48 1s ease-in-out 1.8s 1 normal forwards;
}
.particle49 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation49 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation49 1s ease-in-out 1.8s 1 normal forwards;
}
.particle410 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation410 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation410 1s ease-in-out 1.8s 1 normal forwards;
}
.particle411 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation411 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation411 1s ease-in-out 1.8s 1 normal forwards;
}
.particle412 {
left: 20px;
opacity: 0;
background-color: #47ebeb;
-webkit-animation: particle-animation412 1s ease-in-out 1.8s 1 normal forwards;
animation: particle-animation412 1s ease-in-out 1.8s 1 normal forwards;
}
.particle50 {
left: 60px;
opacity: 0;
background-color: #4770eb;
-webkit-animation: particle-animation50 1s ease-in-out 2s 1 normal forwards;
animation: particle-animation50 1s ease-in-out 2s 1 normal forwards;
}
.particle51 {
left: 60px;
opacity: 0;
background-color: #4770eb;
-webkit-animation: particle-animation51 1s ease-in-out 2s 1 normal forwards;
animation: particle-anim.........完整代码请登录后点击上方下载按钮下载查看
网友评论0