Design comparison
SolutionDesign
Solution retrospective
- What should be a good width for a card component?
Community feedback
- @igor-ostojicPosted over 2 years ago
Hey !
You did a very good job.
The width of the card is similar to the design, i would say the width on desktop is around 350px.
The only thing to add is that you should put max-width instead of width, so the card can scale down automatically when you resize the browser.
Marked as helpful1@RaajzzPosted over 2 years ago@igor-ostojic I have came across max-width before but never really bothered to truly understand it, thank you for the quick heads up! I'll start using max-width for creating cards from here on!
1
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