Design comparison
Solution retrospective
My main challenge was centering the body element, while having margin and not overflowing. What I did was setting the body element height to a calculation of 100vh - the margin top + margin bottom. Then I just used flex-box to center it.
What specific areas of your project would you like help with?I would like to reach a "pixel perfect" design, without hardcoding measurements. Also maybe simplify the css or html if possible. Any suggestions are welcomed.
Community feedback
- @rowanroosterPosted 5 months ago
Nice work, and very very close to the design! I like the use of the Picture element, i need to try that next!
If you haven't checked it out you should download the Figma file to get the rounded corner values.
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