Hassia Issah• 50,670
@Hassiai
Posted
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 helpful
0