public
Created

  • Download Gist
new clearfix.css
CSS
1 2 3 4 5 6 7 8 9 10 11
/* 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 */

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.