一、如果父盒子没有边框,或间距,那么子盒子的margin-top会合并 解决方法: 1、给父盒子设置边框 2、设置父盒子的上内间距 3、设置为overflow: hidden; 触发浏览器的haslayout