meyer reset css


/ Published in: CSS
Save to your folder(s)

Esse é um reset completo do css, por meyer


Copy this code and paste it in your HTML
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2.   v2.0 | 20110126
  3.   License: none (public domain)
  4.   */
  5. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  6. margin: 0;
  7. padding: 0;
  8. border: 0;
  9. font-size: 100%;
  10. font: inherit;
  11. vertical-align: baseline;
  12. }
  13. /* HTML5 display-role reset for older browsers */
  14. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  15. display: block;
  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, q:before, q:after {
  27. content: '';
  28. content: none;
  29. }
  30. table {
  31. border-collapse: collapse;
  32. border-spacing: 0;
  33. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.