⚠️ This lesson is retired and might contain outdated information.

CSS Margins Collapse

Chris Biscardi
InstructorChris Biscardi

Share this video with your friends

Send Tweet
Published 3 years ago
Updated 6 months ago

When stacking multiple HTML elements with margins, those margins collapse into each other which can lead to surprising behavior if you're not expecting that.