
Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
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
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