Answers for "css expand element to cover floating content"

CSS
1

style rule that expands the element to cover any floating content within the element

.row {
	clear: both;
}

.row::after {
	clear: both;
	content: "";
	display: table;
}
Posted by: Guest on May-05-2020

Browse Popular Code Answers by Language