Add animation

This commit is contained in:
Florian RICHER 2023-06-04 22:13:02 +02:00
parent f5aade7a2d
commit e3a9c19e03

View file

@ -57,8 +57,27 @@
& > i > svg {
@apply -rotate-180;
}
& ~ * {
animation: toggle 0.4s ease-in-out;
}
}
}
}
}
}
@keyframes toggle {
0% {
font-size: 0;
opacity: 0;
}
90% {
font-size: 1rem;
opacity: 0;
}
100% {
font-size: 1rem;
opacity: 1;
}
}