Design comparison
SolutionDesign
Solution retrospective
Small difficulty with the margins between the cards: with flexbox, i have the feeling that the margins add up between the cards.
Community feedback
- @hcxwebPosted almost 3 years ago
Hello Francis, You solution looks pretty good! To help with your margin issue, try this:
- get rid of margin: 1.5rem for the card class,
- add gap: 1.5rem for cards class and cards-middle class,
- get rid of margin: 1.25rem for the card class for mobile media query You can use gap for flexbox, which works kind like gap for grid.
Marked as helpful1
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