Design comparison
SolutionDesign
Community feedback
- @h-octocatPosted 3 months ago
You are off to the right start, but you need a few small changes. I would start by properly centering the card. I did this by:
* { margin: 0; padding: 0; box-sizing: border-box; }
.card { margin: 0; position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); }. Hope this helps!
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