Design comparison
SolutionDesign
Community feedback
- @hitmorecodePosted about 1 year ago
Nice well done. Just one tip and a few things you can fix
- For good practice it's best to always add some css reset. Here is a simple css reset
* { margin: 0; padding: 0; box-sizing: border-box; }
- To place the card in the middle of the page make these changes in your css
body { padding: 20px; /* add these lines */ min-height: 100vh; display: flex; justify-content: center; align-items: center; }
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