reset.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
  3. * http://cssreset.com
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td,
  13. article, aside, canvas, details, embed,
  14. figure, figcaption, footer, header, hgroup,
  15. menu, nav, output, ruby, section, summary,
  16. time, mark, audio, video {
  17. margin: 0;
  18. padding: 0;
  19. border: 0;
  20. font-size: 100%;
  21. /* font: inherit; */
  22. /* vertical-align: baseline; */
  23. /*font-family: "微软雅黑";*/
  24. /* font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif; */
  25. }
  26. /* HTML5 display-role reset for older browsers */
  27. article, aside, details, figcaption, figure,
  28. footer, header, hgroup, menu, nav, section {
  29. display: block;
  30. }
  31. body {
  32. /* line-height: 1; */
  33. }
  34. ol, ul {
  35. list-style: none;
  36. }
  37. blockquote, q {
  38. quotes: none;
  39. }
  40. blockquote:before, blockquote:after,
  41. q:before, q:after {
  42. content: '';
  43. content: none;
  44. }
  45. table {
  46. border-collapse: collapse;
  47. border-spacing: 0;
  48. }
  49. /*清楚浮动*/
  50. .clearfix{
  51. overflow:hidden;
  52. _zoom:1;
  53. }
  54. i {
  55. font-style: normal;
  56. }