Animace pro rozbalování položek v navigaci

remotes/1722757888236843906/tmp_refs/heads/search
Emil Miler 4 years ago
parent e2b66c1c0e
commit 7a2f47708e

@ -57,10 +57,15 @@ header {
a { padding: .9rem } a { padding: .9rem }
li:hover { color: var(--color) } li:hover { color: var(--color) }
li:hover div { display: grid }
li:hover>div {
visibility: visible;
transform: translate(0);
opacity: 1;
transition: all .1s ease-out;
}
li>div { li>div {
display: none; display: grid;
position: absolute; position: absolute;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
column-gap: 1em; column-gap: 1em;
@ -75,6 +80,9 @@ header {
font-size: 1rem; font-size: 1rem;
font-weight: normal; font-weight: normal;
color: #2E3440; color: #2E3440;
visibility: hidden;
transform: translate(0, -1em);
opacity: 0;
.title { .title {
margin-bottom: 1em; margin-bottom: 1em;

Loading…
Cancel
Save