reset.css 1.2 KB

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