Thibaut• 170
@ThibautMilville
Posted
Hello,
In this case, you should simply give your body a 100% height adapted to the user's screen (100vh), using flex and the align-items / justify-content properties so that your container is perfectly aligned in the center of the page.
body{ height: 100vh ; display : flex ; justify-content : center ; align-items : center ; }
Good luck and happy coding!
1