Adarsh• 1,560
@adram3l3ch
Posted
Your body now have a height equal to the card. So vertical align won't work. Give body height:100vh
Marked as helpful
0
Looking to hire developers?
I failed to vertically center my div element. Is the code well written to allow it?
@adram3l3ch
Posted
Your body now have a height equal to the card. So vertical align won't work. Give body height:100vh
Marked as helpful
@404diaby
Posted
It's true m, i forgot thanks u
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord