移动端

  1. * { -webkit-tap-highlight-color: transparent; outline: 0; margin: 0; padding: 0; vertical-align: baseline; }
  2. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin: 0; padding: 0; vertical-align: baseline; }
  3. img { border: 0 none; vertical-align: top; }
  4. i, em { font-style: normal; }
  5. ol, ul { list-style: none; }
  6. input, select, button, h1, h2, h3, h4, h5, h6 { font-size: 100%; font-family: inherit; }
  7. table { border-collapse: collapse; border-spacing: 0; }
  8. a { text-decoration: none; color: #666; }
  9. body { margin: 0 auto; min-width: 320px; max-width: 640px; height: 100%; font-size: 14px; font-family: -apple-system,Helvetica,sans-serif; line-height: 1.5; color: #666; -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; }
  10. input[type="text"], textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

PC端

  1. html, body, div, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, ul, li, fieldset, form, label, input, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, article, aside, audio, canvas, figure, footer, header, mark, menu, nav, section, time, video { margin: 0; padding: 0; }
  2. h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal }
  3. article, aside, dialog, figure, footer, header, hgroup, nav, section, blockquote { display: block; }
  4. ul, ol { list-style: none; }
  5. img { border: 0 none; vertical-align: top; }
  6. blockquote, q { quotes: none; }
  7. blockquote:before, blockquote:after, q:before, q:after { content: none; }
  8. table { border-collapse: collapse; border-spacing: 0; }
  9. strong, em, i { font-style: normal; font-weight: normal; }
  10. ins { text-decoration: underline; }
  11. del { text-decoration: line-through; }
  12. mark { background: none; }
  13. input::-ms-clear { display: none !important; }
  14. body { font: 12px/1.5 \5FAE\8F6F\96C5\9ED1, \5B8B\4F53, "Hiragino Sans GB", STHeiti, "WenQuanYi Micro Hei", "Droid Sans Fallback", SimSun, sans-serif; background: #fff; }
  15. a { text-decoration: none; color: #333; }
  16. a:hover { text-decoration: underline; }