Responsive Product Card with HTML/CSS

Solution retrospective
Getting better with responsive design.
What challenges did you encounter, and how did you overcome them?N/A
What specific areas of your project would you like help with?Corner is not taking the border-radius
. Tried overflow: hidden
and seeing if certain elements were preventing it from curving.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @SanderBuist2
nicely done.
In this part:
.image-desktop { display: block; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 0px; border-top-right-radius: 0px; width: 300px; }
remove both top right parts and set the bottom left part to 10 px. That will solve it.
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