外边距折叠

普通块级:外边距折叠

第一段,margin-bottom: 30px。

第二段,margin-top: 20px;间距不是 50px。

flex + gap:不会折叠

第一项。

第二项;间距由 gap 控制。