Blogr Landing Page using plain HTML, CSS & JS

Solution retrospective
Hey there!
I'm realising that I don't have a uniform way of creating dropdown menus. However, toggling classes to show or hide a dropdown menu seem uniform in my workflow. The question is: What's the "best" set of styles can be swapped to create a more animated/smooth toggling? display: none
and display: block
seem to not work well
Please log in to post a comment
Log in with GitHubCommunity feedback
- @madegilangaditya
Hi, congratulation for finishing the challenge, my suggestion for the dropdown menus, maybe try mix
visibility
andopacity
on it instead using display, for the mobile can manipulatemax-height
and visibility. Hope can give you insight on 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