Posted By

Wiederkehr on 08/29/08


Tagged

css clearfix


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

esquareda
tonic


CSS .clearfix


 / Published in: CSS
 

  1. .clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
  2. .clearfix {display: inline-block;}
  3. html[xmlns] .clearfix {display: block;}
  4. * html .clearfix {height: 1%;}

Report this snippet  

You need to login to post a comment.