Margin or padding?
Hacker Noon — Medium | Philipp Sporrer
Some thoughts on when to use which
“When should I use margin? When should I use padding? Does it even matter?”
I have been struggling with these question for way too long. After writing tons of unmaintainable and side-effect heavy CSS I think I finally found some solid ground rules…