You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
495 B
30 lines
495 B
3 months ago
|
@keyframes hinge {
|
||
|
0% {
|
||
|
animation-timing-function: ease-in-out;
|
||
|
}
|
||
|
|
||
|
20%,
|
||
|
60% {
|
||
|
transform: rotate3d(0, 0, 1, 80deg);
|
||
|
animation-timing-function: ease-in-out;
|
||
|
}
|
||
|
|
||
|
40%,
|
||
|
80% {
|
||
|
transform: rotate3d(0, 0, 1, 60deg);
|
||
|
animation-timing-function: ease-in-out;
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
to {
|
||
|
transform: translate3d(0, 700px, 0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.hinge {
|
||
|
animation-duration: calc(var(--animate-duration) * 2);
|
||
|
animation-name: hinge;
|
||
|
transform-origin: top left;
|
||
|
}
|