Posted By

wza on 09/26/11


Tagged

textmate clearfix micro html5


Versions (?)

micro clearfix


 / Published in: Other
 

  1. /* For modern browsers */
  2. .cf:before,
  3. .cf:after {
  4. content:"";
  5. display:table;
  6. }
  7.  
  8. .cf:after {
  9. clear:both;
  10. }
  11.  
  12. /* For IE 6/7 (trigger hasLayout) */
  13. .cf {
  14. zoom:1;
  15. }

Report this snippet  

You need to login to post a comment.