Created
January 11, 2010 20:23
-
-
Save benvds/274575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* as described on: http://perishablepress.com/press/2009/12/06/new-clearfix-hack/ */ | |
/* new clearfix */ | |
.clearfix:after { | |
visibility: hidden; | |
display: block; | |
font-size: 0; | |
content: " "; | |
clear: both; | |
height: 0; | |
} | |
* html .clearfix { zoom: 1; } /* IE6 */ | |
*:first-child+html .clearfix { zoom: 1; } /* IE7 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment