css tricks all about floats code example
Example: style rule that expands the element to cover any floating content within the element
.row {
clear: both;
}
.row::after {
clear: both;
content: "";
display: table;
}
.row {
clear: both;
}
.row::after {
clear: both;
content: "";
display: table;
}