reset.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
  3. * http://cssreset.com
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td,
  13. article, aside, canvas, details, embed,
  14. figure, figcaption, footer, header, hgroup,
  15. menu, nav, output, ruby, section, summary,
  16. time, mark, audio, video {
  17. margin: 0;
  18. padding: 0;
  19. border: 0;
  20. /* font-size: 100%; */
  21. /* font: inherit; */
  22. vertical-align: baseline;
  23. /* font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif; */
  24. font-family: Microsoft Yahei;
  25. box-sizing: border-box;
  26. }
  27. /* HTML5 display-role reset for older browsers */
  28. article, aside, details, figcaption, figure,
  29. footer, header, hgroup, menu, nav, section {
  30. display: block;
  31. }
  32. body {
  33. line-height: 1;
  34. }
  35. ol, ul {
  36. list-style: none;
  37. }
  38. blockquote, q {
  39. quotes: none;
  40. }
  41. blockquote:before, blockquote:after,
  42. q:before, q:after {
  43. content: '';
  44. content: none;
  45. }
  46. table {
  47. border-collapse: collapse;
  48. border-spacing: 0;
  49. }
  50. /*清楚浮动*/
  51. .clearfix{
  52. overflow:hidden;
  53. _zoom:1;
  54. }