1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
.a {
color: green;
}
@keyframes bounce {
0% {
transform: translateY(-100%);
opacity: 0;
}
5% {
transform: translateY(-100%);
opacity: 0;
}
}
@-webkit-keyframes bounce2 {
0% {
transform: translateY(-100%);
opacity: 0;
}
5% {
transform: translateY(-100%);
opacity: 0;
}
}
.bounce {
animation-name: bounce;
animation: bounce2 1s ease;
}
.bounce2 {
color: green;
animation: bounce 1s ease;
animation-name: bounce2;
}
.bounce3 {
animation: bounce 1s ease, bounce2
}
.bounce4 {
animation: bounce 1s ease, bounce2;
}
.b {
color: green;
}
@-webkit-keyframes \@bounce {
0%, 100% {
transform: translateY(-25%);
-webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
animation-timing-function: cubic-bezier(0.8,0,1,1);
}
50% {
transform: none;
-webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}
@keyframes \@bounce {
0%, 100% {
transform: translateY(-25%);
-webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
animation-timing-function: cubic-bezier(0.8,0,1,1);
}
50% {
transform: none;
-webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}
.container {
-webkit-animation: \@bounce 1s infinite;
animation: \@bounce 1s infinite;
}
|