Created
January 12, 2019 19:33
-
-
Save JonAbrams/9f9f8a98444b250f20e2164da39b4223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.menu { | |
overflow: hidden; | |
} | |
/* Enable scroll on hover */ | |
.menu:hover { | |
overflow: auto; | |
} | |
/* Enable scroll on focus */ | |
.menu:focus-within { | |
overflow: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment