P
Martin Šikula• 380
@sikulamartin
Posted
body { display: flex; height: 100vh; justify-content: center; align-items: center; }
if you use this your wrapper will be automaticly in the middle of the screen, just be carefull when doing responsive with this, i advice you to put the height of the body back to auto, something like this: @media (max-width: 767.98px) { body{ height: auto; } }
Marked as helpful
0