边距塌陷及其修复

竖直方向上相接触的margin-top/bottom会塌陷,若二者均为正/负值,取其绝对值大者;若二者中一负一正,取二者之和。

竖直方向上相接触的margin-top/bottom会塌陷,若二者均为正/负值,取其绝对值大者;若二者中一负一正,取二者之和。

Was this helpful?

0 / 0

发表评论 0

Your email address will not be published. Required fields are marked *