Design comparison
SolutionDesign
Community feedback
- @visualdennissPosted over 1 year ago
Hey there,
your solution looks good overall, congrats on completing the challenge successfully! It looks like you are using margins and % to center the main card but this method is not suggested as elements can lose control with changing browser size. Instead try to use: display: flex; flex-direction: column; align-items: center; and make the container (e.g. body) to have min-height of 100vh to cover the entire screen.
Hope you find this feedback helpful!
Marked as helpful0
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