Submitted over 1 year ago
Product Preview Card Component, vanilla CSS. just a hint of Flex
@ughvop
Design comparison
SolutionDesign
Solution retrospective
I tried my best to center the component horizontally, does it look good? also I wanted to use srcset but it seems complicated so I just used the same old display none & display block. If you guys have a resources that explain it in a simple way, I would be happy to learn about it
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