global.css
.rotate-out {
animation: rotate-out 0.6s ease-out both;
}
@keyframes rotate-out {
0% {
opacity: 1;
transform: rotate(0deg);
}
100% {
opacity: 0;
transform: rotate(90deg);
}
} Based on @Ibelick
Designed with ♥ by @AdrianGerman