2019-11-20
Margins overlap, paddings don't
When having two elements that both have padding, the space between them will be twice as large because there are two elements.
Margins does not work the same way. When having two elements that both have margin, the space between them will overlap and be half compared to padding.
Comments