Pertaining to html, how do I make a div container grow with the content instead of manually defining a width and height.
-
2021-02-05 01:56
If you used float
it prevents to grow up with content so you can use
clear
after
float
and it will work.
.clear-fix{
clear: both;
}