Sometimes, we want to stop float left with CSS.
In this article, we’ll look at how to stop float left with CSS.
How to stop float left with CSS?
To stop float left with CSS, we use clear: both
.
For instance, we write
<div style="clear: both"></div>
to add clearing between 2 floating block elements with clear: both
.
Conclusion
To stop float left with CSS, we use clear: both
.