Design comparison
SolutionDesign
Community feedback
- @30vamPosted 7 months ago
You could set the card's overflow property to hidden to make the image have round corners only where it is exceeding the card instead of being rounded on all 4 corners with border-radius:
.container { overflow: hidden; }
1
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