Submitted over 1 year agoA solution to the Product preview card component challenge
product-preview-card-component
@hmousavin

Solution retrospective
What are you most proud of, and what would you do differently next time?
I did RWD but, none of them gone smooth and confident as the one ! I think I have some progress in this manner.
What challenges did you encounter, and how did you overcome them?- to fill the container with image, while preserving it's aspect-ratio (I was styling the wrong element ! :)
- add some padding while preventing the original width and height (solved by: box-sizing: border-box)
Nothing actually .. I need more practice to increase my accuracy and attention-to-details.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Hamid reza Mousavi nasab'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