Skip to content

Disable Margin Collapse in CSS with No Visual Impact

When working with CSS you sometimes have to work around a behavior known as margin collapsing. Let's go briefly through what it is and an easy cool hack to negate it.