Design comparison
Solution retrospective
Hi. Desktop version should be peretty good. But I#m having trouble with gettin the right margin in the mobile size. Any tips on how to make it fit for all different sizes/ side ratios? Greets!
Community feedback
- @SzymonRojekPosted almost 4 years ago
Hi,
It is good to think about the structure of your project before coding. I prefer to start from the mobile first, then desktop, try to build all "boxes" by using flexbox or grid, grid & flexbox together - responsive structure, then content. I read that grid is amazing for layouts and flexbox for content inside of the boxes - check it out here.
In my simple projects I have used wrapp-container and inside is the main content with footer for example. Then you can easily get the margin.
That's it from me. Ps. don't forget to upvote any comments on here that you find helpful.
Greetings :D
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