Design comparison
SolutionDesign
Community feedback
- @SamanthaJowaPosted 3 months ago
Great work!
I noticed you were adjusting the left and right margins of the contents of your card to create padding. I recently finished this project and found it easier to add padding to the card class
padding: 24px;
to avoid repetition when writing the styles of the card's contents relative to the card's border. That way, your spacing will be more uniform and you avoid writing a lot of code.I hope this was helpful!
Marked as helpful0
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