css dropdown menu with scrollbar

Solutions on MaxInterview for css dropdown menu with scrollbar by the best coders in the world

showing results for - "css dropdown menu with scrollbar"
Nicolás
22 Nov 2020
1/*  Note that I added a screen width limit to 600px 
2and fixed the menu height in 200px (with scrollbars), 
3so you can adjust those numbers the way you want. */
4@media (max-width: 600px) {
5	#menu{
6		max-height: 200px;
7		overflow-x: hidden;
8		overflow-y: auto;
9	}
10}