reset.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. Name: Reset Stylesheet
  3. Description: Resets browser's default CSS
  4. Author: Eric Meyer
  5. Author URI: http://meyerweb.com/eric/tools/css/reset/
  6. */
  7. /* v1.0 | 20080212 */
  8. html, body, div, span, applet, object, iframe,
  9. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  10. a, abbr, acronym, address, big, cite, code,
  11. del, dfn, em, font, img, ins, kbd, q, s, samp,
  12. small, strike, strong, sub, sup, tt, var,
  13. b, u, i, center,
  14. dl, dt, dd, ol, ul, li,
  15. fieldset, form, label, legend,
  16. table, caption, tbody, tfoot, thead, tr, th, td {
  17. background: transparent;
  18. border: 0;
  19. font-size: 100%;
  20. margin: 0;
  21. outline: 0;
  22. padding: 0;
  23. vertical-align: baseline;
  24. }
  25. body {line-height: 1;}
  26. ol, ul {list-style: none;}
  27. blockquote, q {quotes: none;}
  28. blockquote:before, blockquote:after,
  29. q:before, q:after {
  30. content: '';
  31. content: none;
  32. }
  33. /* remember to define focus styles! */
  34. :focus {
  35. outline: 0;
  36. }
  37. /* remember to highlight inserts somehow! */
  38. ins {text-decoration: none;}
  39. del {text-decoration: line-through;}
  40. /* tables still need 'cellspacing="0"' in the markup */
  41. table {
  42. border-collapse: collapse;
  43. border-spacing: 0;
  44. }