The Rules of Margin Collapse

250 · CSS-Tricks · Dec. 30, 2020, 3:42 p.m.
Josh Comeau covers the concept of margin collapsing: This idea might sound simple, but if you’ve been writing CSS for a while, you’ve almost certainly been surprised when margins either don’t collapse, or they collapse in weird and unexpected ways. … The post The Rules of Margin Collapse appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter....