Design comparison
SolutionDesign
Solution retrospective
This one felt pretty straightforward. However, I know I might have done somethings wrongly. I'd really appreciate corrections. Thanks a whole lot.
Community feedback
- @matebeingPosted over 2 years ago
Well done, Mofe! I'd suggest you to avoid using using width/height directly to the HTML tag, instead, try to style the body element. If you want to center your card, you can do it using flexbox on body and setting its width 100% and height 100vh and then your card will be centered in the middle of the page, both vertically and horizontally.
Marked as helpful2
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