mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-19 02:20:35 +01:00
0bc05a7559
and fixed typo in the previous commit at source/attention_seekers/swing.css
35 lines
627 B
CSS
35 lines
627 B
CSS
@keyframes hinge {
|
|
0% {
|
|
transform: rotate(0);
|
|
transform-origin: top left;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
20%, 60% {
|
|
transform: rotate(80deg);
|
|
transform-origin: top left;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
40% {
|
|
transform: rotate(60deg);
|
|
transform-origin: top left;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
80% {
|
|
transform: rotate(60deg) translateY(0);
|
|
transform-origin: top left;
|
|
animation-timing-function: ease-in-out;
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: translateY(700px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.hinge {
|
|
animation-name: hinge;
|
|
}
|