reset.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. html,
  2. body,
  3. div,
  4. span,
  5. applet,
  6. object,
  7. iframe,
  8. h1,
  9. h2,
  10. h3,
  11. h4,
  12. h5,
  13. h6,
  14. p,
  15. blockquote,
  16. pre,
  17. a,
  18. abbr,
  19. acronym,
  20. address,
  21. big,
  22. cite,
  23. code,
  24. del,
  25. dfn,
  26. em,
  27. img,
  28. ins,
  29. kbd,
  30. q,
  31. s,
  32. samp,
  33. small,
  34. strike,
  35. strong,
  36. sub,
  37. sup,
  38. tt,
  39. var,
  40. b,
  41. u,
  42. i,
  43. center,
  44. dl,
  45. dt,
  46. dd,
  47. ol,
  48. ul,
  49. li,
  50. fieldset,
  51. form,
  52. label,
  53. legend,
  54. table,
  55. caption,
  56. tbody,
  57. tfoot,
  58. thead,
  59. tr,
  60. th,
  61. td,
  62. article,
  63. aside,
  64. canvas,
  65. details,
  66. embed,
  67. figure,
  68. figcaption,
  69. footer,
  70. header,
  71. hgroup,
  72. menu,
  73. nav,
  74. output,
  75. ruby,
  76. section,
  77. summary,
  78. time,
  79. mark,
  80. audio,
  81. video {
  82. margin: 0;
  83. padding: 0;
  84. border: 0;
  85. font-size: 100%;
  86. font: inherit;
  87. vertical-align: baseline;
  88. }
  89. * {
  90. margin: 0;
  91. padding: 0;
  92. }
  93. /* HTML5 display-role reset for older browsers */
  94. article,
  95. aside,
  96. details,
  97. figcaption,
  98. figure,
  99. footer,
  100. header,
  101. hgroup,
  102. menu,
  103. nav,
  104. section {
  105. display: block;
  106. }
  107. body {
  108. line-height: 1;
  109. }
  110. ol,
  111. ul {
  112. list-style: none;
  113. }
  114. blockquote,
  115. q {
  116. quotes: none;
  117. }
  118. blockquote:before,
  119. blockquote:after,
  120. q:before,
  121. q:after {
  122. content: '';
  123. content: none;
  124. }
  125. table {
  126. border-collapse: collapse;
  127. border-spacing: 0;
  128. }
  129. html,
  130. body {
  131. color: #333333;
  132. font-family: "pingfang SC", "MicrosoftYaHei";
  133. font-size: 16px;
  134. -webkit-font-smoothing: antialiased;
  135. }
  136. * {
  137. -webkit-tap-highlight-color: transparent;
  138. margin: 0;
  139. padding: 0;
  140. }
  141. input,
  142. textarea {
  143. -webkit-appearance: none;
  144. }
  145. *::-webkit-scrollbar {
  146. display: none;
  147. }