在父dom对象上添加class
.clearFloat {
content: "";
display: block;
visibility: hidden;
height: 0;
clear: both;
}