Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
To center a content on a page, add min-height:100vh; display: flex; align-items-center: justify-content: center; to the body. There is no need to give .card a margin value to center it.
Give .card a width of 90% a max-width of 400px instead of with:275px; and a max-width of 90%. Hope am helpful.
Well done for completing this challenge, you did a good job. Happy coding
Marked as helpful0@JoseEliasMoralesPosted almost 2 years ago@Hassiai Thank you very much! I took the tip and already applied it. I will use it from now on.
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