Design comparison
Solution retrospective
I was not that satisfied with the original solution to this problem. The background img didn't actually stay at the center when the vh changed. In this new solution I used a combination of CSS Functions to make sure that no matter the vh or vw the background stays where it belongs. I also added a little hover animation for the buttons (In my previous solution, they weren't even buttons).
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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