Submitted almost 2 years ago
product-preview-card-component using media queries
@rafaeldgeo
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm proud I have gotten to use media queries to create the two layouts.
What challenges did you encounter, and how did you overcome them?It's complicate define the different images for mobile and desktop. I managed to solve this problem using tag .
What specific areas of your project would you like help with?I would like to help with the use tag
Community feedback
- @chrisjay358Posted almost 2 years ago
Hi Rafael, I think you did an amazing job! I like it and if you would like to improve it, here are a few tips I think you should include.
- Give more room for visual hierarchy (space between blocks)
main { min-height: calc(100vh - 30px); margin-bottom: 3rem; }
. That way on a mobile view the footer doesn't rub into the card itself. You could also have a margin-bottom for hierarchy also between the <main> and the <footer>.- This is all for now. Hope this meets you well.
Marked as helpful0@rafaeldgeoPosted almost 2 years ago@chrisjay358 Hi! Thank you for help! You solve a doubt about this question { min-height: calc(100vh - 30px); margin-bottom: 3rem; }
1@chrisjay358Posted almost 2 years ago@rafaeldgeo Really glad I could be of service to you, Keep winning and growing Rafael Dias.
Marked as helpful0
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