The clear property is used to stop text wrapping around the box.
.example {
clear: both;
}
Property |
Value |
Explanation |
clear |
left |
clears the left (for left floating box) |
right |
clears the right (for right floating box) |
both |
clears the both (for left or right floating box) |
none |
it doesn't clear (default) |
Example