float过后 高度无法自适应的解决方法

float过后 高度无法自适应的解决方法:

在float层最外面包一层div即可。

原文地址:https://www.cnblogs.com/Peter-Youny/p/3539904.html