Responsive product card component using Flexbox

Solution retrospective
Not all content present in HTML needs to be displayed at all times.
For example, depending on the screen size (desktop and mobile) the component image changes.
I placed the two images in the HTML and in the CSS I controlled the visibility using the display property.
And you? How did you solve this problem?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Abilio de Assis'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