Four card feature section

Solution retrospective
I couldn't make the spaces in the grid all equal even after using the gap property. How can I achieve that?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @solracss
Use one class that share same properties for cards, no need to repeat it. DRY principle. As for gap, you did it ok, but change it to
gap: 2rem
and deltete top/bottom margin from card - no need for it.
Join 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