@vanamos12Submitted over 1 year ago
How to center a box vertically?
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.