@rowanrooster
Posted
Try using padding on the .card
element instead of margin. But, i think if you add even 1px of padding you should start seeing the margins - this is because of margin collapse / stacking margins.
if im right, check this article for more on stacking margins: FreeCodeCamp
Hope that helps, but good work! Clean code and I like the comments in the css!
Marked as helpful
@kiaraaa123
Posted
@rowanrooster Thank you, this was the exact problem! I appreciate your help.