Return to Snippet

Revision: 19237
at October 19, 2009 07:39 by AzizLight


Initial Code
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

Initial URL
http://css-tricks.com/snippets/css/clear-fix/

Initial Description

                                

Initial Title
Clearfix Improved

Initial Tags
css

Initial Language
CSS