×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Omega Goon
Added: Sep 22, 2014 12:28 AM
Modified: Sep 29, 2014 9:05 PM
Views: 32
Tags: css reset
basic css reset
  1. /* reset browser styles */
  2. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s,
  4. samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd,
  5. ol, ul, li, fieldset, form, label, legend,
  6. table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
  7. figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
  8. time, mark, audio, video {
  9.         margin: 0;
  10.         padding: 0;
  11.         border: 0;
  12.         font-size: 100%;
  13.         vertical-align: baseline;
  14. }
  15. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  16.         display: block;
  17. }
  18. body {
  19.         line-height: 1.2;
  20. }
  21. table {
  22.         border-collapse: collapse;
  23.         border-spacing: 0;
  24. }
  25. ol {
  26.         padding-left: 1.4em;
  27.         list-style: decimal;
  28. }
  29. ul {
  30.         padding-left: 1.4em;
  31.         list-style: square;
  32. }
  33. blockquote, q {
  34.         quotes: none;
  35. }
  36. blockquote:before, blockquote:after,
  37. q:before, q:after {
  38.         content: '';
  39.         content: none;
  40. }
  41. /* end reset browser styles */
  42.