---
title: "Discussion on \"The Margin Collapse\" | Hashnode"
description: "Discussion on \"The Margin Collapse\". The battle of the CSS margins"
url: "https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Margin Collapse](https://steveoncaffeine.hashnode.dev/the-margin-collapse?utm_source=hashnode&utm_medium=feed)

The battle of the CSS margins

Sep 2, 2022 · 5 min read · steveoncaffeine.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#css](https://hashnode.com/tag/css)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[Stephen Adebambo](https://hashnode.com/@steveoncaffeine)

@steveoncaffeine · Abuja, Nigeria.

  
[View profile](https://hashnode.com/@steveoncaffeine)

I make beautiful websites, or at least try to

I'm a 4th year CS student from Nigeria. I'm currently learning web technologies to become a full-stack web developer. I love coding and learning new things.

## Responses 3

Markdown supported · ⌘↵ to post

[Zikora O.](https://hashnode.com/@zikaura)

[Sep 3, 2022](https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853/comment/631360b6041b51e1712e1c0a)

I had no idea this existed, very useful _and_ well written. Well done.

[Stephen Adebambo](https://hashnode.com/@steveoncaffeine)

[Sep 3, 2022](https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853/comment/631360b6041b51e1712e1c0a#reply-6313ac18041b51e1712e2a19)

Thanks! I'm glad you found it useful

[Charles Arowolo](https://hashnode.com/@MaestroTheDev)

[Sep 3, 2022](https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853/comment/6312cbf3d49bb9d8c2f722f2)

Nice work

[Stephen Adebambo](https://hashnode.com/@steveoncaffeine)

[Sep 3, 2022](https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853/comment/6312cbf3d49bb9d8c2f722f2#reply-6313abe6d49bb9d8c2f74878)

Thanks!

[Charles Toriola](https://hashnode.com/@charliethemoon)

[Sep 2, 2022](https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853/comment/63127b8456df9e8e50261059)

Amazing read man. Funny enough, I’ve noticed this happen on numerous occasions but I never knew what it was called or why it happened. Thank you so much for this. Keep it up!!

[Stephen Adebambo](https://hashnode.com/@steveoncaffeine)

[Sep 3, 2022](https://hashnode.com/posts/the-margin-collapse/63123dd456df9e8e50260853/comment/63127b8456df9e8e50261059#reply-6313abced49bb9d8c2f74870)

Thank you. I've been plagued by issues arising from this behavior too. That's why I chose this topic.
