minimales styling für dropdownmenu
beim öffnen oder draufklicken (für mobile, wird noch implementiert) öffnet sich die liste
This commit is contained in:
1 parent
ca6ebc9e35
commit
696d14bd39
1 file changed
+22
-6
@@ -1,12 +1,28 @@
|
||||
li.displayedList__item--checked{
|
||||
text-decoration: line-through;
|
||||
|
||||
.nav__dropdown {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.category__name--big{
|
||||
font-weight: bold;
|
||||
.nav__dropdownMenu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.nav__dropdown:hover .nav__dropdownMenu,
|
||||
.nav__dropdown.is-open .nav__dropdownMenu{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.category__name--big{
|
||||
font-size: 2rem;
|
||||
.nav > ul {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
list-style: none;
|
||||
margin: 1;
|
||||
padding: 1;
|
||||
}
|
||||
|
||||
.nav__dropdownMenu {
|
||||
background-color: grey;
|
||||
}
|
||||
Reference in new issue
Block a user