You can center vertically in multiple ways, you can also use absolute position.
element{ position:absolute; top:50%; left:50%; transform: translate(-50%, -50%); }
Try this :)
0
Vertical centring was the most difficult thing. However, now learning about flexbox. I will most likely rebuild this project using flexbox in the future.
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