ricardozea
9/29/2013 - 3:38 AM

Clearfix CSSBased on David Walsh's code: http://davidwalsh.name/css-clear-fix

Clearfix CSSBased on David Walsh's code: http://davidwalsh.name/css-clear-fix

//Clearfix - http://davidwalsh.name/css-clear-fix

//Vanilla CSS
.clear:before, .clear:after { display:table; content:''; }
.clear:after { clear:both; }

//Nested sytle - Sass
.clear {
	&:after,
	&:after {
		display: table;
		content: '';
	}
	&:after { clear: both; }
}