reset.css 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. html, body, div, span,object, iframe,input,button,select,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,strong,var,b,i,
  2. dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details,figure, figcaption, footer, header, hgroup,
  3. menu, nav, output,section, summary,time, mark, textarea, audio, video ,hr{
  4. margin: 0;
  5. padding: 0;
  6. border: 0;
  7. font-size: 100%;
  8. font: inherit;
  9. vertical-align: baseline;
  10. outline: none;
  11. }
  12. /* HTML5 display-role reset for older browsers */
  13. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  14. display: block;
  15. }
  16. hr,input,button,textarea{
  17. border: none;
  18. }
  19. input, select{
  20. vertical-align:middle;
  21. }
  22. li{
  23. list-style:none;
  24. }
  25. img{
  26. border:0;
  27. outline: 0;
  28. vertical-align:middle;
  29. }
  30. button{
  31. cursor:pointer;
  32. }
  33. a{
  34. color:#666;
  35. text-decoration:none;
  36. }
  37. textarea{
  38. resize: none;
  39. }
  40. ::-ms-clear{
  41. display:none;
  42. }