Posted By

dadeeee on 01/23/11


Tagged

reset


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

stavros


css reset


 / Published in: CSS
 

  1. * {margin:0; padding:0}
  2. a img {border:none}
  3. :focus {outline:none}
  4. .aligncenter {text-align:center}
  5. .alignright{text-align:right}
  6. .left{float:left}
  7. .right{float:right}
  8. .clear{clear:both}
  9. .clearfix:after {
  10. visibility: hidden;
  11. display: block;
  12. font-size: 0;
  13. content: " ";
  14. clear: both;
  15. height: 0;
  16. }
  17. .clearfix { display: inline-block; }
  18. /* start commented backslash hack \*/
  19. * html .clearfix { height: 1%; }
  20. .clearfix { display: block; }
  21. /* close commented backslash hack */

Report this snippet  

You need to login to post a comment.