Responsive product preview card with HTML and CSS

Solution retrospective
- Using basic grid CSS and flexbox
- Responsive with media queries in CSS
I have some problems with image width and height which can't fit in the div if I set the width a little bit wider. For example, if I set the width to 350px the image will flow out of the div. So my solution here is to stick with 300px width.
What specific areas of your project would you like help with?I need to learn more about grid CSS and how to control the image better.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Linh Nguyen's solution.
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