HTML5 Ready CSS Reset


SUBMITTED BY: Guest

DATE: Jan. 15, 2014, 9:41 p.m.

FORMAT: CSS

SIZE: 1.7 kB

HITS: 3463

  1. /*   html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark  html5doctor.com/html-5-reset-stylesheet/*/
  2. html, body, div, span, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. abbr, address, cite, code,
  5. del, dfn, em, img, ins, kbd, q, samp,
  6. small, strong, sub, sup, var,
  7. b, i,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td,
  11. article, aside, figure, footer, header, hgroup, menu, nav, section, menu,
  12. time, mark, audio, video {
  13. margin:0;
  14. padding:0;
  15. border:0;
  16. outline:0;
  17. font-size:100%;
  18. vertical-align:baseline;
  19. background:transparent;
  20. }
  21. article, aside, figure, footer, header,
  22. hgroup, nav, section { display:block; }
  23. nav ul { list-style:none; }
  24. blockquote, q { quotes:none; }
  25. blockquote:before, blockquote:after,
  26. q:before, q:after { content:''; content:none; }
  27. a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
  28. ins { background-color:#ff9; color:#000; text-decoration:none; }
  29. mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
  30. del { text-decoration: line-through; }
  31. abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
  32. /* tables still need cellspacing="0" in the markup */
  33. table { border-collapse:collapse; border-spacing:0; }
  34. hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
  35. input, select { vertical-align:middle; }
  36. /* END RESET CSS */

comments powered by Disqus