reset.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. body,
  2. p,
  3. h1,
  4. h2,
  5. h3,
  6. h4,
  7. h5,
  8. li,
  9. span,
  10. i,
  11. ul,
  12. img,
  13. a,
  14. strong,
  15. input,
  16. button,
  17. textarea,
  18. select,
  19. dl,
  20. dd,
  21. dt {
  22. margin: 0;
  23. padding: 0;
  24. }
  25. body {
  26. font-family: "microsoft yahei", "Arial";
  27. font-size: .24rem;
  28. line-height: 1;
  29. -webkit-user-select: none;
  30. -webkit-text-size-adjust: 100% !important;
  31. text-size-adjust: 100% !important;
  32. -moz-text-size-adjust: 100% !important;
  33. }
  34. ::-webkit-scrollbar {
  35. width: 0;
  36. height: 0;
  37. }
  38. * {
  39. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  40. -webkit-box-sizing: border-box;
  41. -moz-box-sizing: border-box;
  42. box-sizing: border-box;
  43. }
  44. [class|="ico"] {
  45. display: inline-block;
  46. vertical-align: middle;
  47. }
  48. li {
  49. list-style-type: none;
  50. }
  51. a {
  52. text-decoration: none;
  53. outline: none;
  54. }
  55. img {
  56. border: none;
  57. }
  58. i,
  59. var,
  60. em {
  61. font-style: normal;
  62. }
  63. button {
  64. font-family: "microsoft yahei", "Arial";
  65. outline: none;
  66. cursor: pointer;
  67. font-size: .24rem;
  68. border: none;
  69. }
  70. iframe {
  71. border: none;
  72. }
  73. input,
  74. select,
  75. textarea {
  76. outline: none;
  77. font-family: "microsoft yahei", "Arial";
  78. font-size: .24rem;
  79. border-radius: 0;
  80. border: none;
  81. background: none;
  82. }
  83. input:disabled {
  84. opacity: 1;
  85. color: #333;
  86. }
  87. input[type="submit"],
  88. input[type="reset"],
  89. input[type="text"],
  90. input[type="password"],
  91. input[type="number"],
  92. input[type="button"],
  93. button,
  94. input[type="date"],
  95. textarea {
  96. -webkit-appearance: none;
  97. border: none;
  98. background: none;
  99. }
  100. textarea {
  101. resize: none;
  102. }
  103. .fl {
  104. float: left;
  105. }
  106. .fr {
  107. float: right;
  108. }
  109. .clear {
  110. clear: both;
  111. }
  112. .hide {
  113. display: none !important;
  114. }
  115. .column{
  116. display: -webkit-flex;
  117. display: -moz-flex;
  118. display: -ms-flex;
  119. display: -o-flex;
  120. display: flex;
  121. }
  122. .column > * {
  123. column-count:1;
  124. flex-grow:1;
  125. flex-shrink 0;
  126. text-align: center;
  127. }