reset.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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 : inherit;
  86. font-size : 100%;
  87. vertical-align: baseline;
  88. }
  89. html {
  90. line-height : 1;
  91. // -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  92. }
  93. ol,
  94. ul {
  95. list-style: none;
  96. }
  97. table {
  98. border-collapse: collapse;
  99. border-spacing : 0;
  100. }
  101. caption,
  102. th,
  103. td {
  104. font-weight : normal;
  105. vertical-align: middle;
  106. }
  107. q,
  108. blockquote {
  109. quotes: none;
  110. }
  111. q::before,
  112. q::after,
  113. blockquote::before,
  114. blockquote::after {
  115. content: '';
  116. content: none;
  117. }
  118. a img {
  119. border: none;
  120. }
  121. article,
  122. aside,
  123. details,
  124. figcaption,
  125. figure,
  126. footer,
  127. header,
  128. hgroup,
  129. menu,
  130. nav,
  131. section,
  132. summary {
  133. display: block;
  134. }
  135. * {
  136. box-sizing: content-box;
  137. }
  138. a {
  139. background : transparent;
  140. text-decoration: none;
  141. }
  142. button,
  143. input[type='number'],
  144. input[type='text'],
  145. input[type='password'],
  146. input[type='email'],
  147. input[type='search'],
  148. select,
  149. textarea {
  150. font-family : inherit;
  151. margin : 0;
  152. -webkit-appearance: none;
  153. }