@sajeellSubmitted about 2 years ago
Vertically center a div is really hard
Vertically center a div is really hard
I know one simple way to center a div. Checkout https://web.dev/patterns/layout/ This website has taught me so many layouts just with simple css
(parent container)
.container { display: grid; place-items: center: height: 100vh; }
(children container)
.card { / properties for your card / }