reset.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. b, u, i, center,
  7. dl, dt, dd, ol, ul, li,
  8. fieldset, form, label, legend,
  9. table, caption, tbody, tfoot, thead, tr, th, td,
  10. article, aside, canvas, details, embed,
  11. figure, figcaption, footer, header,
  12. menu, nav, output, ruby, section, summary,
  13. time, mark, audio, video, input {
  14. margin: 0;
  15. padding: 0;
  16. border: 0;
  17. font-size: 100%;
  18. font-weight: normal;
  19. vertical-align: baseline;
  20. font-family: "微软雅黑";
  21. }
  22. body,html,.page{
  23. width: 100%;
  24. height: 100%;
  25. font-size:0.16rem;
  26. display: flex;
  27. flex-direction: column;
  28. }
  29. html {
  30. -ms-text-size-adjust: 100%;
  31. -webkit-text-size-adjust: 100%;
  32. }
  33. body {
  34. line-height: 1.6;
  35. font-family: -apple-system-font, "Helvetica Neue", sans-serif;
  36. }
  37. * {
  38. margin: 0;
  39. padding: 0;
  40. }
  41. a img {
  42. border: 0;
  43. }
  44. a {
  45. text-decoration: none;
  46. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  47. }
  48. /** env = windows **/
  49. ::-webkit-input-placeholder {
  50. font-family: -apple-system-font, "Helvetica Neue", sans-serif;
  51. }
  52. /** prevent default menu callout **/
  53. a {
  54. -webkit-touch-callout: none;
  55. }
  56. .vux-1px,
  57. .vux-1px-t,
  58. .vux-1px-b,
  59. .vux-1px-tb,
  60. .vux-1px-l,
  61. .vux-1px-r {
  62. position: relative;
  63. }
  64. .vux-1px:before {
  65. content: " ";
  66. position: absolute;
  67. left: 0;
  68. top: 0;
  69. width: 200%;
  70. border: 1px solid #C7C7C7;
  71. color: #C7C7C7;
  72. height: 200%;
  73. transform-origin: left top;
  74. transform: scale(0.5);
  75. }
  76. .vux-1px-t:before {
  77. content: " ";
  78. position: absolute;
  79. left: 0;
  80. top: 0;
  81. right: 0;
  82. height: 1px;
  83. border-top: 1px solid #C7C7C7;
  84. color: #C7C7C7;
  85. transform-origin: 0 0;
  86. transform: scaleY(0.5);
  87. }
  88. .vux-1px-b:after {
  89. content: " ";
  90. position: absolute;
  91. left: 0;
  92. bottom: 0;
  93. right: 0;
  94. height: 1px;
  95. border-bottom: 1px solid #C7C7C7;
  96. color: #C7C7C7;
  97. transform-origin: 0 100%;
  98. transform: scaleY(0.5);
  99. }
  100. .vux-1px-tb:before {
  101. content: " ";
  102. position: absolute;
  103. left: 0;
  104. top: 0;
  105. right: 0;
  106. height: 1px;
  107. border-top: 1px solid #C7C7C7;
  108. color: #C7C7C7;
  109. transform-origin: 0 0;
  110. transform: scaleY(0.5);
  111. }
  112. .vux-1px-tb:after {
  113. content: " ";
  114. position: absolute;
  115. left: 0;
  116. bottom: 0;
  117. right: 0;
  118. height: 1px;
  119. border-bottom: 1px solid #C7C7C7;
  120. color: #C7C7C7;
  121. transform-origin: 0 100%;
  122. transform: scaleY(0.5);
  123. }
  124. .vux-1px-l:before {
  125. content: " ";
  126. position: absolute;
  127. left: 0;
  128. top: 0;
  129. width: 1px;
  130. bottom: 0;
  131. border-left: 1px solid #C7C7C7;
  132. color: #C7C7C7;
  133. transform-origin: 0 0;
  134. transform: scaleX(0.5);
  135. }
  136. .vux-1px-r:after {
  137. content: " ";
  138. position: absolute;
  139. right: 0;
  140. top: 0;
  141. width: 1px;
  142. bottom: 0;
  143. border-right: 1px solid #C7C7C7;
  144. color: #C7C7C7;
  145. transform-origin: 100% 0;
  146. transform: scaleX(0.5);
  147. }
  148. input {
  149. border: none !important;
  150. margin: 0 !important;
  151. }