ify47• 360
@ify47
Posted
center your div by adding this to your body in css
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
and try to move your styles to a stylesheet to make your code clean, Overall, this is an awesome solution :).
I hope this has been helpful.
Marked as helpful
0