.clear { height: 0;overflow: hidden;clear: both;font-size: 0px;line-height: 0px; } float与overflow以及clear之间的关系:参考http://www.jianshu.com/p/70ef7e03da74