forked from kittv/web
1
0
Fork 0

Animace pro rozbalování položek v navigaci

search
Emil Miler 4 years ago
parent e2b66c1c0e
commit 7a2f47708e

@ -57,10 +57,15 @@ header {
a { padding: .9rem }
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 {
display: none;
display: grid;
position: absolute;
grid-template-columns: 1fr 1fr;
column-gap: 1em;
@ -75,6 +80,9 @@ header {
font-size: 1rem;
font-weight: normal;
color: #2E3440;
visibility: hidden;
transform: translate(0, -1em);
opacity: 0;
.title {
margin-bottom: 1em;

Loading…
Cancel
Save