_reset.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v4.0 | 20180602
  3. License: none (public domain)
  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,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. main, menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font: inherit;
  23. vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, main, menu, nav, section {
  28. display: block;
  29. }
  30. /* HTML5 hidden-attribute fix for newer browsers */
  31. *[hidden] {
  32. display: none;
  33. }
  34. body {
  35. line-height: 1;
  36. }
  37. ol, ul {
  38. list-style: none;
  39. }
  40. blockquote, q {
  41. quotes: none;
  42. }
  43. blockquote:before, blockquote:after,
  44. q:before, q:after {
  45. content: '';
  46. content: none;
  47. }
  48. table {
  49. border-collapse: collapse;
  50. border-spacing: 0;
  51. }