reset.css 1.2 KB

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