Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
Hello Leobardo, congratulations for your solution!
Your component is really good done and responsive, but you've a problem with the background and the text elements getting cropped when the card scales.
I've two quick tips for your:
- Add
background-size: cover;
to get your background displaying full width.
2.Maybe is a better idea delete
overflow: hidden
because is making the text get cropped when your card contracts.3.Use a semantical tag to wrap the card content like <main> or <section>
Hope it helps and happy coding!
0 - Add
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