Social link profil using the pseudo-class :hover

Solution retrospective
I had trouble with centering. I overcome this using margin-top: 50vh;transform: translateY(-50%); but I'm wondering how to do it cleanly with flexbox.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @kodan96
hi there! 👋
You can center your content by applying these to your
body
tag:body { min-height: 100vh; display: flex; justify-content: center; align-items: center; }
Hope this helped 🙏
Good luck and happy coding! 💪
Marked as helpful
Join our Discord community
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