摘要: 外边距塌陷 产生原因 相邻块元素垂直外边距合并 兄弟块元素,同时设置不同的 margin-top 值,两个的 margin-top 最后展示的都是最大的 margin-top 的效果。 html <div class="brother1"></div> <div class="brother2">< 阅读全文
posted @ 2020-08-04 00:32 _Sleeping 阅读(215) 评论(0) 推荐(0)