Submitted about 2 years ago
Responsive Product Preview Card using Bootstrap
@Prasadmuthyala
Design comparison
SolutionDesign
Solution retrospective
I'm unable to create Responsive image edges
Community feedback
- @KarolMajerczykPosted about 2 years ago
Add border-radius on the whole card element and just use the property overflow: hidden.
Marked as helpful1 - @ericabaoPosted about 2 years ago
Great job on your solution!
- On mobile you should apply border-radius on top-left and top-right only for the image.
- On desktop apply border-radius on top-left and bottom-left for the image off course.
Good luck and happy coding.
1 - @BMcdavittPosted about 2 years ago
Hello, great job on this solution!
You could look into using @media queries as a way to control what edges of the image to apply the radius to.
Good luck and happy coding.
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