嵌套的盒子外边距塌陷 解决方法: 1 给父盒子设置边框 2 给父盒子overflow:hidden; bfc 格式化上下文 http://www.w3cplus.com/css/understanding-bfc-and-margin-collapse.html