“The Rules of Margin Collapse”
Honestly, margin collapse in CSS was probably a bad idea and because I’m a lazy person I’ve mostly switched to flex/grid + gap to create this sort of spacing
... works as a web developer in Hveragerði, Iceland, and writes about the web, digital publishing, and web/product development
These are his notes
“The Rules of Margin Collapse”
Honestly, margin collapse in CSS was probably a bad idea and because I’m a lazy person I’ve mostly switched to flex/grid + gap to create this sort of spacing