The concept of collapsing margins is very simple but fully understanding its behaviors in CSS can be tough at first. When it comes to the real world there are 3 major categories of margin collapsing. So let’s figure out how these 3 types of collapsing work and how to tame them.
Add your comment