Design comparison
SolutionDesign
Community feedback
- @IamdoncareyPosted about 1 month ago
The design is well placed just that it is not centered at the center of the page
Marked as helpful0 - @AdrianoEscarabotePosted about 1 month ago
Hi Ramkumar B N, hope you're doing well! I loved how your project turned out, but I’ve got a few suggestions that could be useful:
I noticed that your component is not centralized to solve this problem we can do the following:
body { background-color: hsl(212, 45%, 89%); text-align: center; font-family: "Outfit", sans-serif; display: flex; align-items: center; justify-content: center; min-height: 100vh; }
and
.card { max-width: 300px; /* height: 40%; */ background-color: hsl(0, 0%, 100%); /* margin: auto; */ border-radius: 5%; padding: 1%; display: flex; flex-direction: column; justify-content: center; }
The rest is fantastic.
Hopefully, you'll find it helpful. 👍
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