Add dropdown menus!
This commit is contained in:
18
root.css
18
root.css
@@ -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;}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user