vanamos12• 10
@vanamos12
Submitted
How to center a box vertically?
@SGMaxis
@vanamos12
Submitted
How to center a box vertically?
You forgot to set the height of the body element. Set it to 100vh. It's required if you want to use align-items: center; to center the box on the screen.