/ Published in: CSS
                    
                                        
Simple Clearfix
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
/* ClearFix */
.clearfix {
display: block;
}
.clearfix:after {
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                