Category: margin

Good ol’ Margin Collapsing

Here’s a one-sentence blog post about margin collapsing: When two block elements are stacked on top of one another, the vertical space between them is the larger between the one on top’s margin-bottom and the one on the bottom’s margin-top. It’s a bit weird and ascii-shruggy. Couple caveats wit...