CSS-Solve the problem that the child floats with css float and the parent div has no height and cannot adapt to the height
Others
2020-04-23 08:25:40
views: null
Add overflow style to parent style
.parent{
overflow: hidden;
}
.child{
float:left;
}
Origin www.cnblogs.com/500m/p/12758153.html