TLDR · QUICK LINKS
THE RULES OF MARGIN COLLAPSE
Summary from the TLDR newsletter
Margin collapse is when adjacent margins overlap in CSS - understanding the rules behind this mechanism can make writing CSS clearer and less surprising.
TLDR · QUICK LINKS
Margin collapse is when adjacent margins overlap in CSS - understanding the rules behind this mechanism can make writing CSS clearer and less surprising.