
Submitted over 2 years ago
Responsive Product preview card component using HTML and CSS
@Girishbanua
Design comparison
SolutionDesign
Solution retrospective
For me I found the image change method a little struggling. You have to display one image for the desktop preview and the other for the mobile preview, this was little difficult, and I was not getting it. Then I remembered the "display: none" property and added it. And then it worked very well.
Community feedback
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