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

26 lines
359 B
CSS

@keyframes swing {
20% {
transform: rotate3d(0, 0, 1, 15deg);
}
40% {
transform: rotate3d(0, 0, 1, -10deg);
}
60% {
transform: rotate3d(0, 0, 1, 5deg);
}
80% {
transform: rotate3d(0, 0, 1, -5deg);
}
100% {
transform: rotate3d(0, 0, 1, 0deg);
}
}
.swing {
transform-origin: top center;
animation-name: swing;
}