mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-18 10:00:36 +01:00
12 lines
262 B
CSS
12 lines
262 B
CSS
|
@keyframes swing {
|
||
|
20% { transform: rotate(15deg); }
|
||
|
40% { transform: rotate(-10deg); }
|
||
|
60% { transform: rotate(5deg); }
|
||
|
80% { transform: rotate(-5deg); }
|
||
|
100% { transform: rotate(0deg); }
|
||
|
}
|
||
|
|
||
|
.swing {
|
||
|
transform-origin: top center;
|
||
|
animation-name: swing;
|
||
|
}
|