UMo0HU• 40
@UMo0HU
Posted
I think if you wanna vertically align a div using a flex, you gotta use align-items: center; which will work in case you give this div a suitable height for example height: 100vh;.
0
What specific areas of your project would you like help with?
How to vertically align a div.
@UMo0HU
Posted
I think if you wanna vertically align a div using a flex, you gotta use align-items: center; which will work in case you give this div a suitable height for example height: 100vh;.
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