Posted By

gregorynicholas on 04/26/11


Tagged

css reset stylesheet


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

buripig


Reset.CSS


 / Published in: CSS
 

URL: http://static.tumblr.com/hegfx82/qETl99pz3/reset.css

  1. html, body, div, span, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. b, i, dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend,
  8. table, caption, tbody, tfoot, thead, tr, th, td {
  9. margin: 0;
  10. padding: 0;
  11. border: 0;
  12. outline: 0;
  13. font-size: 100%;
  14. vertical-align: baseline;
  15. background: transparent;
  16. }
  17. body {
  18. line-height: 1;
  19. }
  20. ol, ul {
  21. list-style: none;
  22. }
  23. blockquote, q {
  24. quotes: none;
  25. }
  26. blockquote:before, blockquote:after,
  27. q:before, q:after {
  28. content: '';
  29. content: none;
  30. }
  31.  
  32. /* remember to define focus styles! */
  33. :focus {
  34. outline: 0;
  35. }
  36.  
  37. /* remember to highlight inserts somehow! */
  38. ins {
  39. text-decoration: none;
  40. }
  41. del {
  42. text-decoration: line-through;
  43. }
  44.  
  45. /* tables still need 'cellspacing="0"' in the markup */
  46. table {
  47. border-collapse: collapse;
  48. border-spacing: 0;
  49. }
  50.  
  51. /* Resetting HTML5! */
  52. section, article, aside, header, footer, nav, dialog, figure { display:block; }

Report this snippet  

You need to login to post a comment.