子元素浮动之后父元素高度不能自适应

1、问题

设置子元素浮动之后父元素高度不能自适应

2、解决方案

设置overflow:hidden

posted @ 2016-12-06 23:39  慵懒的小猪  阅读(309)  评论(0编辑  收藏  举报