added new animations

This commit is contained in:
2025-09-24 17:51:54 -06:00
parent 114511d04b
commit 994ee9b6a6
11 changed files with 75 additions and 24 deletions
+13 -2
View File
@@ -62,13 +62,19 @@
}
.subMenu ul {
display: none;
opacity: 0;
max-height: 0;
position: absolute;
flex-direction: column;
top: 100%;
width: 100%;
background-color: #003e79;
transition: color 0.3s ease, opacity 0.3s ease;
transition: color 0.3s ease;
transition: opacity 0.4s ease, max-height 0.4s ease;
}
.subMenu ul a {
display: none;
}
.subMenu.open ul {
@@ -81,6 +87,11 @@
}
.subMenu:hover ul {
opacity: 1;
max-height: 500px;
}
.subMenu:hover ul a {
display: flex;
}