Design comparison
SolutionDesign
Solution retrospective
maybe i need help
Community feedback
- @shaihumohammedPosted 10 months ago
it could be more accurate if you center the card in the middle of the viewport
body{ position : relative; } .card{ position:absolute; top:50%; left:50%; transfrom:translate(-50%,-50%); } /*hover effects*/ selector:hover{ background: hsl(75, 94%, 57%); }
also you could use a fluid value for the card to prevent overflow
hope this helps :)
Marked as helpful0
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