Posted By

andrewcolby on 06/03/13


Tagged

css simple clearfix


Versions (?)

Simple CSS Clearfix


 / Published in: CSS
 

Simple Clearfix

  1. /* ClearFix */
  2.  
  3. .clearfix {
  4. display: block;
  5. }
  6.  
  7. .clearfix:after {
  8. clear: both;
  9. content: ".";
  10. display: block;
  11. height: 0;
  12. visibility: hidden;
  13. }

Report this snippet  

You need to login to post a comment.