r/WebdevTutorials • u/webdep • Feb 16 '20
Frontend Simple Dropdown Menu Hover
https://www.youtube.com/watch?v=fzG3w1ZxGdM
45
Upvotes
-1
u/frownonline Feb 16 '20
There's some good stuff here, but be aware of display:none; for accessibility [https://css-tricks.com/places-its-tempting-to-use-display-none-but-dont/]
Also, add a nice CSS rule to 'hint' of initially hidden content for usability:
nav a:not(:last-child)::after {content: ' ▾';}
0
u/ponix Feb 16 '20
Very nice and easy to follow