Design comparison
Solution retrospective
I like feedbacks, in this way i can improve my front-end abilities! feel free to give me good constructive feedback.
Community feedback
- @dewslysePosted over 3 years ago
Hi @nofear1985, the card in design is not perfectly centered, at least not vertically. The top margin is a little bigger than the bottom margin. You may need to offset the card from the top for it to be at the same level as the design.
You could try apply a
transform: translateY(10%)
to your.container
selector to see if it helps. You may want to try different percentages though.Don't forget to generate a new screenshot when you make any change to your code.
Marked as helpful0 - @ratan17Posted over 3 years ago
you could have used flexbox for centering your cards
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