Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I am most proud of the end product. I think it looks very accurate compared to the original design.
Community feedback
- @MikDra1Posted about 2 months ago
If you're looking to make your card responsive effortlessly, consider this approach:
.card { width: 90%; max-width: 37.5rem; }
The card will take up 90% of its container on smaller devices (like the body), but when it hits 37.5rem (600px), it will cap at that size.
To center the card within its parent, try this code:
.container { display: grid; place-items: center; }
I hope this guidance is helpful! 💗💗💗
Well done, and keep pushing forward! 😁😊😉
0
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