Product preview card component using pure css

Solution retrospective
I tried to make the card using flexbox initially, couldn't do it because the image-container didn't take the 50% width, it just kept showing there was available space without actually using the space.
How should I fix this issue?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on impure'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