Posted By

madr on 02/09/11


Tagged

css textmate SASS


Versions (?)

clearfix


 / Published in: Other
 

  1. // used by containers wanting to clear it's floated children
  2. @mixin clearfix {
  3. *zoom: 1;
  4.  
  5. &:after {
  6. clear: both;
  7. display: block;
  8. visibility: hidden;
  9. overflow: hidden;
  10. height: 0!important;
  11. line-height: 0;
  12. font-size:xx-large;
  13. content:" x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
  14. }
  15. }

Report this snippet  

You need to login to post a comment.