Reset CSS avec elements HTML5


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



Copy this code and paste it in your HTML
  1. /* Reset + HTML5 -----------*/
  2. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td{ margin: 0; padding: 0; }
  3. section, article, header, hgroup, footer, nav, aside{ display: block; }
  4. table{ border-collapse: collapse; border-spacing: 0; }
  5. td{ border: 1px; }
  6. input, texarea{ outline: none; }
  7. fieldset, img, abbr{ border: 0; }
  8. address, caption, cite, code, dfn, em, strong, th, var{ font-style: normal; font-weight: normal; }
  9. ol, ul{ list-style: none; text-indent: 0; }
  10. caption, th{ text-align: left; }
  11. h1, h2, h3, h4, h5, h6{ font-size: 1em; font-weight: normal; }
  12. q:before, q:after{ content: ''; }
  13. a{ text-decoration: none; outline : none; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.