mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-18 10:00:36 +01:00
d63e022485
Optimising for hardware acceleration, removing duplicate animations (slides), bumping tag
35 lines
593 B
CSS
35 lines
593 B
CSS
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
|
|
|
@keyframes wobble {
|
|
0% {
|
|
transform: none;
|
|
}
|
|
|
|
15% {
|
|
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
|
}
|
|
|
|
30% {
|
|
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
|
}
|
|
|
|
45% {
|
|
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
|
}
|
|
|
|
60% {
|
|
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
|
}
|
|
|
|
75% {
|
|
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
|
}
|
|
|
|
100% {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
.wobble {
|
|
animation-name: wobble;
|
|
}
|