animate.css/source/attention_seekers/shake.css
Daniel Eden d63e022485 More rewrites
Optimising for hardware acceleration, removing duplicate animations (slides), bumping tag
2014-07-06 13:32:34 -07:00

17 lines
254 B
CSS

@keyframes shake {
0%, 100% {
transform: translate3d(0, 0, 0);
}
10%, 30%, 50%, 70%, 90% {
transform: translate3d(-10px, 0, 0);
}
20%, 40%, 60%, 80% {
transform: translate3d(10px, 0, 0);
}
}
.shake {
animation-name: shake;
}