Using clear rule in css

.clearfix:after { content: "."; visibility: hidden; display: block; height: 0; clear: both; }

Usage

<div class='.clearfix'>
	Some content
</div>

Bonus:

In css :

.clear { clear: both; }
<br class='clear' />