Examples
Cleared Floats
This example shows two floated elements wrapped in an element with a 4px solid red border. In the top version where the floats are cleared, the red element wraps around the elements. In the second example - the parent element is collapsed and the two floated elements sit outside of it. It should be noted you don't have to clear floated elements that are inside another floated element.
UnCleared Floats
Reference
MDN - Clears
<%= srcCSS %>