Design comparison
SolutionDesign
Solution retrospective
So, that was my solution, any inputs?
Community feedback
- @Andrii-RohovPosted over 3 years ago
Hi, nice solution. But you should try to remove width from body tag. And remove from container div (position: absolute; top: 20%; left: 15%;) and try to add (margin: 150px auto;) and see the result
Marked as helpful1@AntonyWilliamPosted over 3 years ago@Andrii-Rohov i did what you said, and now it looks better! thanks!
0 - @VictorrrochaPosted over 3 years ago
I know a good practice is to zero the padding in the <body>
You could use flexbox on the <body> to center your container div, instead of setting an absolute value.
Marked as helpful1
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