Hassia Issah• 50,670
@Hassiai
Posted
to center .card on the page, replace height: 100vh with min-height : 100vh; in the main. reduce the padding value of .card to 15px, there is no need to give .card a margin value.
Use rem or em as unit for the padding , margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful. HAPPY CODING
1
Benjamin Lutz• 20
@benlutz
Posted
@Hassiai thank you for your feedback! Your totally right - it doesn't make too much of a difference visually, but your's is the correct way of doing it.
0