Add dropdown menus!

This commit is contained in:
2024-03-22 19:57:05 -05:00
parent 93643d9288
commit c02faccde4
2 changed files with 37 additions and 8 deletions

View File

@@ -101,7 +101,23 @@ ul {
}
}
/* Dropdown menu */
.dropdown {
position: relative;
display: inline-block;
border-radius: 2%;
}
.dropdown-content {
position: absolute;
display: none;
padding: 10px;
z-index: 10;
background-color: rgba(0,0,0,0.6);
}
.dropdown:hover .dropdown-content {display: grid;}