how to make an element cover floating content 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;
}