reset-2.0.css 1.3 KB

123456789101112131415161718192021222324252627282930
  1. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; }
  2. body, button, input, select, textarea { font-size: 12px; font-family: "微软雅黑","arial","宋体"; line-height: 1; color: #333;}
  3. h1, h2, h3, h4, h5, h6{ font-size:100%; }
  4. address, cite, dfn, em, var { font-style:normal; }
  5. code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
  6. small{ font-size:12px; }
  7. ul, ol { list-style:none; }
  8. sup { vertical-align:text-top; }
  9. sub{ vertical-align:text-bottom; }
  10. legend { color:#000; }
  11. fieldset, img { border:0; }
  12. button, input, select, textarea { font-size:100%; }
  13. table { border-collapse:collapse; border-spacing:0; }
  14. /* HTML5 display-role reset for older browsers */
  15. article, aside, details, figcaption, figure,
  16. footer, header, menu, nav, section {display: block;}
  17. input,input[type="search"],button,select,option,textarea,a{outline:none;}
  18. a{text-decoration: none;-webkit-backface-visibility: hidden;color:#333;}
  19. div{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
  20. .fl{float:left;}
  21. .fr{float:right;}
  22. .clear{clear:both; height: 0; line-height: 0; font-size: 0;}
  23. .clearfix:after{ content:"."; display:block; height:0; visibility:hidden; clear:both;}