collapsable sections - add transition
This commit is contained in:
parent
7efec15b2f
commit
674c65a25e
8 changed files with 35 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue