Skip to content
Submitted over 3 years ago

Responsive product card component

LVL 1
@laryssacarvalho
A solution to the Product preview card component challenge

Solution retrospective


I'm starting to learn CSS and sometimes I'm not sure if it's ok to use absolute units or if I should try to avoid them and always use relative units. In this solution, I tried using relative units for width and height but it was breaking on tablet screens so I ended up using pixels.

Other than that, I would really appreciate any feedback you can give me. I used flexbox and media query to make the page responsive

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Laryssa Carvalho’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