【转】子元素margin-top为何会影响父元素?
作者:萤火虫塔莉
来源:CSDN
原文:https://blog.csdn.net/sinat_27088253/article/details/52954688
来看css2.1盒模型中规定的内容:
In this specification, the expression collapsing margins means that adjoining margins (no non-empty content, padding or border areas or clearance separate them) of two or more boxes (which may be next to one another