Floating elements generate a floating stream.
All elements that generate a floating stream can not be seen by block-level elements;
floating elements can be seen by elements that generate bfc, text-type elements, and text.
CSS notes (1) ---- about the float attribute
Guess you like
Origin blog.csdn.net/m0_38038767/article/details/88212293
Recommended
Ranking