@BMcdavitt
Posted
Hi GRAVIT,
Another suggestion to help you center the card would be to set the body height to 100vh. This will allow you to set the display to flex and align-items to center:
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
Now you can remove the margins from .card and everything will center perfectly in all displays.
Happy coding!
Marked as helpful