Add Clearfix

Clearfix is an extremely helpful bit of code to clear floating divs in
any browser. In my opinion it is as essential as a Reset. I've
implemented here utilizing the Skeleton IE classes assigned in the
index.html file rather than other popular css hacks often used for IE
targeting on clearfix.
This commit is contained in:
Jason Gill 2012-07-13 16:31:54 -06:00
parent 7ab682091d
commit 2d1663e0e8

View File

@ -47,6 +47,11 @@
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; } border-spacing: 0; }
/* Clearfix */
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
html.ie6 .clearfix {height: 1%;}
html.ie7 .clearfix {min-height: 1px;}
/* #Basic Styles /* #Basic Styles
================================================== */ ================================================== */