reset.css 1.2 KB

123456789101112131415161718192021222324252627282930
  1. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td { margin:0; padding:0; box-sizing: border-box;}
  2. p{overflow: hidden;}
  3. body { background:#fff; color:#555; font-size:14px;line-height: 24px;font-family:"Microsoft YaHei"; word-break: break-all;}
  4. td,th,caption { font-size:12px; }
  5. h1, h2, h3, h4, h5, h6 { font-weight:normal; font-size:100%; }
  6. address, caption, cite, code, dfn, em, strong, th, var {
  7. box-sizing: border-box;
  8. /* font-style:normal;
  9. font-weight:normal; */
  10. }
  11. a { color:#555; text-decoration:none; }
  12. a:hover { text-decoration:underline; }
  13. img { border:none; max-width: 100%; max-height: 400px;vertical-align: middle;}
  14. i,em{font-style: normal;}
  15. s{text-decoration: none;}
  16. ol,ul,li { list-style:none; }
  17. input, textarea, select, button { font:14px Verdana,Helvetica,Arial,sans-serif;outline: none;border:0}
  18. table { border-collapse:collapse; }
  19. html {overflow-y: scroll;}
  20. *{font-family:"Microsoft YaHei"!important;}
  21. .fl{float: left;}
  22. .fr{float: right;}
  23. .clearfix::after{content: "";height: 0;overflow: hidden;clear: both;display: block}
  24. input::-webkit-outer-spin-button,
  25. input::-webkit-inner-spin-button { -webkit-appearance: none; }
  26. input[type="number"]{ -moz-appearance: textfield; }