Design comparison
Solution retrospective
Hi,
This project is great to learn about dropdown menus accessibility and keyboard navigation requirements.
The bit I'm unsure about is managing the image size, as it gets a bit small at some point when resizing the screen. If anyone can suggest a better solution it will be appreciated.
Thanks
Community feedback
- @MaxKolbePosted over 2 years ago
Hello. Good work on the page, in order to manage screen size it would be better to remove the height property you added and replace it with a width property with a percentage value. E.g. Width: 100%. Let me know if that works. The dropdown menu activated on-hover but sometimes I'd leave the menu and it would still be open till I went back to hover over it again
Marked as helpful0@cr1deg0Posted over 2 years ago@C1h2i3d4i5 thanks for the feedback. I've tried your suggestion, setting width: 100% and height: auto for the desktop solution (need to keep height property for mobile solution to avoid the image container collapsing) and it seems to work much better. Thank you!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord