collapsable sections - add transition

This commit is contained in:
isUnknown 2024-09-03 12:02:57 +02:00
parent 7efec15b2f
commit 674c65a25e
8 changed files with 35 additions and 28 deletions

View file

@ -117,7 +117,7 @@
height: 1.8ch;
max-width: 10rem;
overflow: hidden;
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
transition: all 0.5s var(--curve-quick);
}
.main-nav--small .logo > *:not(:first-child) {
@ -133,7 +133,7 @@
/* Logo hover */
.main-nav .logo {
transition: scale 0.5s cubic-bezier(0.23, 1, 0.32, 1);
transition: scale 0.5s var(--curve-quick);
}
.main-nav .logo:hover {
scale: 1.035;