⧪
.tossing{
animation-name: tossing;
-webkit-animation-name: tossing;
animation-duration: 2.5s;
-webkit-animation-duration: 2.5s;
animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
}
@keyframes tossing {0% {transform: rotate(-4deg);}
50% {transform: rotate(4deg);}
100% {transform: rotate(-4deg);}
}
@-webkit-keyframes tossing {0% {-webkit-transform: rotate(-4deg);}
50% {-webkit-transform: rotate(4deg);}
100% {-webkit-transform: rotate(-4deg);}
}
⧪
.slider {animation: six 3s infinite cubic-bezier(0.5,0,0.5,1);}
@keyframes six {
0%, 5% {transform: translate(-2em);}
45%, 55% {transform: translate(2em);}
95%, 100% {transform: translate(-2em);}
}
⧪
.bounce{animation: bounce 3s infinite alternate;}
@keyframes bounce {
0% {transform: translateY(-8em);animation-timing-function: cubic-bezier(.51,.01,.79,.02); }
15% {transform: translateY(8em);animation-timing-function: cubic-bezier(.19,1,.7,1);}
25% {transform: translateY(-4em);animation-timing-function: cubic-bezier(.51,.01,.79,.02);}
32.5% {transform: translateY(8em);animation-timing-function: cubic-bezier(.19,1,.7,1);}
40% {transform: translateY(0em);animation-timing-function: cubic-bezier(.51,.01,.79,.02);}
45% {transform: translateY(8em);animation-timing-function: cubic-bezier(.19,1,.7,1);}
50% {transform: translateY(3em);animation-timing-function: cubic-bezier(.51,.01,.79,.02);}
56% {transform: translateY(8em);animation-timing-function: cubic-bezier(.19,1,.7,1);}
60% {transform: translateY(6em);animation-timing-function: cubic-bezier(.51,.01,.79,.02);}
64% {transform: translateY(8em);animation-timing-function: cubic-bezier(.19,1,.7,1);}
66% {transform: translateY(7.5em);animation-timing-function: cubic-bezier(.51,.01,.79,.02);}
70%, 100% {transform: translateY(8em);animation-timing-function: cubic-bezier(.19,1,.7,1);}
}
⧪
.ccw{animation: ccw 3s infinite linear;
top: calc(50% - 2em);
left: calc(50% - 9em);
transform-origin: 2em 50%;
}
.ccw {
animation: ccw 6s infinite linear reverse;
left: calc(50% - 1em);
top: calc(50% - 1em);
}
@keyframes ccw {
100% {
transform: rotateZ(360deg);
}
}
⧪
.floating{animation: floating 3s infinite alternate;}
.floating{animation-name: floating;
-webkit-animation-name: floating;
animation-duration: 1.5s;
-webkit-animation-duration: 1.5s;
animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
}
@keyframes floating {
0% {transform: translateY(0%);}
50% {transform: translateY(8%);}
100% {transform: translateY(0%);}
}
@-webkit-keyframes floating {
0% {-webkit-transform: translateY(0%);}
50% {-webkit-transform: translateY(8%);}
100% {-webkit-transform: translateY(0%);}
}
⧪
.pulse{animation-name: pulse;
-webkit-animation-name: pulse;
animation-duration: 1.5s;
-webkit-animation-duration: 1.5s;
animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
}
@keyframes pulse {
0% {transform: scale(0.9);opacity: 0.7;}
50% {transform: scale(1);opacity: 1;}
100% {transform: scale(0.9);opacity: 0.7;}
}
@-webkit-keyframes pulse {
0% {-webkit-transform: scale(0.95);opacity: 0.7;}
50% {-webkit-transform: scale(1);opacity: 1;}
100% {-webkit-transform: scale(0.95);opacity: 0.7;}
}