Margin collapse is not a bug!
In my last post, I talked about what CSS margin collapse is. When I explain this to fellow programmers, their first reaction is usually “why does that happen!?” or “I hate that bug!”
It’s not a bug, it’s actually a core component of type layout.
First, let’s take a step back. When was the last…