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:
parent
7ab682091d
commit
2d1663e0e8
@ -47,6 +47,11 @@
|
||||
border-collapse: collapse;
|
||||
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
|
||||
================================================== */
|
||||
|
Loading…
Reference in New Issue
Block a user