Design comparison
SolutionDesign
Solution retrospective
I find it a little challenging to make the hero background and the phone mock up responsive.
Some added features:
- fixed header animations when scrolled
- fade in animations when scrolling.
- added a feature when the
nav
is open, the user won't be able to scroll thebody
. To do that, I added a class to thebody
element like this:
body.fixed {
overflow: hidden;
}
And just toggles the class using Javascript.
Feedbacks and suggestions are highly appreciated! Thanks in advance and Happy New Year~
Community feedback
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