clearfix 相关的材料
happypeter opened this issue · comments
Top and bottom margins of blocks are sometimes combined (collapsed) into a single margin whose size is the largest of the margins combined into it, a behavior known as margin collapsing.
MDN
另外,flexbox 也要聊聊