3 ms·
This is according to me the real issue. Besides this unintuitive collapsability margins, there is only one difference between margin and padding: the edges/bord
by cies 5y ago
This is according to me the real issue. Besides this unintuitive collapsability margins, there is only one difference between margin and padding: the edges/border of the background color.
It's the unintuitive collapsability that messes up margins.