Responsive intro section with dropdown navigation using flexbox

Solution retrospective
Everything works great but in smaller screens, the side navbar is still overflowing even though I added overflow-x: hidden
to the body
tag... (swipe left on the screen to see overflowing side navbar)
My trials:
- adding a wrapper with
overflow-x: hidden
around themain
tag
Any feedback would be appreciated!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @besttlookk
Hi, Nice work! Everything looks great. Here are a few points I like to add:
- On clicking overlay, sidemenu should close(for small screen)
- Dropdown should also also while clicking outside(for large screen)
- For large screen it would have looked good when the content were covering the whole view-port height.
Good luck,
Happy coding
Marked as helpful - @Ging3rmint
Nice work. rather than putting media query for each and every bigger screen size, what we usually do is to set a max-width to your container then use margin: 0 auto to centralise it.
Join 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