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

CSS Margins Collapse

Chris Biscardi
InstructorChris Biscardi
Share this video with your friends

Social Share Links

Send Tweet
Published 5 years ago
Updated 2 years 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.