Design comparison
SolutionDesign
Community feedback
- @cacostedPosted about 2 years ago
Hello @awsmPuff your solution looks very nice and feels smooth. The only thing that I noticed was that you set a fixed
width
with pixels and then you change it with amedia query
.You could simplify this and remove the
media query
, the only thing you need to add ismax-width
and with this your card will only grow until it reaches themax-width
value, and I will behave like it does with the media query.Example:
.card { width: 70%; max-width: 350px; }
Marked as helpful0@awsmPuffPosted about 2 years ago@cacosted Great idea! I'll have a try! Thanks for your suggestion~
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