mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
d63e022485
Optimising for hardware acceleration, removing duplicate animations (slides), bumping tag
26 lines
359 B
CSS
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;
|
|
}
|