MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/WebdevTutorials/comments/f4m997/simple_dropdown_menu_hover/fhsfw62/?context=3
r/WebdevTutorials • u/webdep • Feb 16 '20
2 comments sorted by
View all comments
-1
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: ' ▾';}
-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: ' ▾';}