Design comparison
Solution retrospective
Feedback appreciated.
Community feedback
- @abhik-bPosted almost 4 years ago
Hey Chris π your solution is amazing π it is responsive and it works amazingly great β¨
I loved the hamburger menu animation ππ
** Just a opinion - ** you can do something like
<nav class="dropdown-nav">
and you can select that in js usingdocument.getQuerySelector(".dropdown-nav")
so that you can avoid!important
intransform: translateY(0px) !important;
If you overuse
!important
, the effects can turn into a nightmare of pages and elements trying to override each other, and what was once important has become the default, but it canβt be set as the default. So try to use !important sparingly, so that when you do need something to stand out or be future-proofed.Happy coding & keep contributing
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