finished navbar

This commit is contained in:
janis
2022-11-04 12:59:44 +01:00
parent 5847297d34
commit 1a488cf029
3 changed files with 40 additions and 14 deletions

View File

@@ -26,6 +26,8 @@ a {
}
a:hover {
animation-name: fadein;
animation-duration: 300ms;
background-color: darkblue;
}
@@ -56,9 +58,21 @@ a:hover {
}
}
@keyframes rotateMenu {
0% {
transform: rotateX(-90deg)
}
70% {
transform: rotateX(20deg)
}
100% {
transform: rotateX(0deg)
}
}
.dropdown:hover .dropdown-menu {
display: block;
animation: growDown 300ms ease-in-out forwards;
animation: rotateMenu 300ms ease-in-out forwards;
}