Skip to content

Commit

Permalink
Menu Drop Down fixed for Bigger Screens (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
4F24L authored Oct 18, 2024
1 parent 498c3ac commit e7b1880
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
cursor: pointer;
outline: none;
border-radius: 10px;
display: none;
}

/* Dropdown container */
.dropdown {
position: absolute;
/* display: none; */
top: 20px;
left: 15px;
display: inline-block;
Expand All @@ -29,6 +31,8 @@
list-style-type: none;
padding: 0;
margin: 0;
border-radius: 10px;

}

.dropdown-content li {
Expand All @@ -44,7 +48,10 @@
}

.dropdown-content li a:hover {
background-color: #ddd;
color: #ffffff;
background-color: #9cc9e3;
border-radius: 10px;

}

/* Show the dropdown when 'show' class is added */
Expand Down Expand Up @@ -164,6 +171,10 @@
}


.dropbtn{
display:block;
}


}

Expand Down Expand Up @@ -278,6 +289,10 @@
flex-direction: row;
}

.dropbtn{
display:block;
}



}
Expand Down Expand Up @@ -393,6 +408,9 @@
flex-direction: row;
}

.dropbtn{
display:block;
}


}
Expand Down Expand Up @@ -510,6 +528,9 @@
flex-direction: row;
}

.dropbtn{
display:none;
}


}
Expand Down

0 comments on commit e7b1880

Please sign in to comment.