Hassia Issah• 50,670
@Hassiai
Posted
To center a content on a page, add min-height:100vh; to the body and remove the height value.
There is no need to give .container a height value , instead give it padding top and bottom 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