Design comparison
Solution retrospective
The difficult part was positioning the hero mockup image and the background Image Also.
- How To make Images with position absolute Responsive ?
- How do you dealt with Paddings in this Challenge.
- Is using mobile-first Approach always right ?
Community feedback
- @meyoh-23Posted 12 months ago
I recommend using the mobile-first approach almost always, not because it is right, but because it is more convenient. From the client's perspective, for instance, many people will likely access your webpage via mobile devices.
As a designer, I think it is easier to implement the small screen version, and then adapt your design for a larger screen, since in most cases, very few elements/components of your design actually change as you advance from a smaller screen to a larger screen and vice versa.
I also ran to the challenge with paddings/margins when using a "desktop-first" approach. the values for larger screen sizes are sometimes set to bigger values, and they do not scale down with the screen sizes. this essentially affects the layout of the mobile and can be overwhelming for a beginner.
Marked as helpful1@mohap710Posted 12 months ago@meyoh-23 I agree that mobile first is easier to implement but when it comes to navigations I think that desktop-first is better cause you will not need to reset properties to their default ,take for example: you start with mobile-first navigation setting it's
position : absolute;
, hide it when it's closed by something liketransform:translate(-100%);
when you reach your desktop breakpoint you will have to do something likeposition: static; transform: translate(0);
I recommend to check this Amazing video by Kevin Powell
1@meyoh-23Posted 12 months agonice perspective, now that I have checked the video. Thanks for sharing the link.@mohap710
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