mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-18 10:00:36 +01:00
15 lines
473 B
CSS
15 lines
473 B
CSS
|
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
||
|
|
||
|
@keyframes wobble {
|
||
|
0% { transform: translateX(0%); }
|
||
|
15% { transform: translateX(-25%) rotate(-5deg); }
|
||
|
30% { transform: translateX(20%) rotate(3deg); }
|
||
|
45% { transform: translateX(-15%) rotate(-3deg); }
|
||
|
60% { transform: translateX(10%) rotate(2deg); }
|
||
|
75% { transform: translateX(-5%) rotate(-1deg); }
|
||
|
100% { transform: translateX(0%); }
|
||
|
}
|
||
|
|
||
|
.wobble {
|
||
|
animation-name: wobble;
|
||
|
}
|