Design comparison
SolutionDesign
Solution retrospective
still confuse about padding, margin and gap
Community feedback
- @Elvy1999Posted about 1 year ago
-padding is the space between the content of an element and its border. -margin is the space outside the border of an element. -gap is a property used in CSS Grid and Flexbox layouts to specify the space between grid items or flex items respectively.
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