animate.css/source/attention_seekers/wobble.css
Sarbbottam Bandyopadhyay 0bc05a7559 converted all the tabs into spaces
and fixed typo in the previous commit
at source/attention_seekers/swing.css
2014-02-24 03:26:08 +05:30

35 lines
523 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;
}