移动端
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

130 righe
1.7 KiB

  1. body,
  2. div,
  3. span,
  4. header,
  5. footer,
  6. nav,
  7. section,
  8. aside,
  9. article,
  10. ul,
  11. dl,
  12. dt,
  13. dd,
  14. li,
  15. a,
  16. p,
  17. h1,
  18. h2,
  19. h3,
  20. h4,
  21. h5,
  22. h6,
  23. i,
  24. b,
  25. textarea,
  26. button,
  27. input,
  28. select,
  29. figure,
  30. figcaption {
  31. padding: 0;
  32. margin: 0;
  33. list-style: none;
  34. font-style: normal;
  35. text-decoration: none;
  36. border: none;
  37. box-sizing: border-box;
  38. font-family: "Microsoft Yahei", sans-serif;
  39. -webkit-tap-highlight-color: transparent;
  40. -webkit-font-smoothing: antialiased;
  41. &:focus {
  42. outline: none;
  43. }
  44. }
  45. body {
  46. color: #323233;
  47. }
  48. /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
  49. ::-webkit-scrollbar {
  50. width: 0px;
  51. height: 0px;
  52. background-color: #F5F5F5;
  53. }
  54. /*定义滚动条轨道 内阴影+圆角*/
  55. ::-webkit-scrollbar-track {
  56. -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  57. border-radius: 10px;
  58. background-color: #F5F5F5;
  59. }
  60. /*定义滑块 内阴影+圆角*/
  61. ::-webkit-scrollbar-thumb {
  62. border-radius: 10px;
  63. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  64. background-color: #555;
  65. }
  66. input[type="button"],
  67. input[type="submit"],
  68. input[type="search"],
  69. input[type="reset"] {
  70. -webkit-appearance: none;
  71. }
  72. textarea {
  73. -webkit-appearance: none;
  74. }
  75. html,
  76. body {
  77. height: 100%;
  78. width: 100%;
  79. background-color: #F5F5F5;
  80. }
  81. .clear:after {
  82. content: '';
  83. display: block;
  84. clear: both;
  85. }
  86. .clear {
  87. zoom: 1;
  88. }
  89. .back_img {
  90. background-repeat: no-repeat;
  91. background-size: 100% 100%;
  92. }
  93. .margin {
  94. margin: 0 auto;
  95. }
  96. .left {
  97. float: left;
  98. }
  99. .right {
  100. float: right;
  101. }
  102. .hide {
  103. display: none;
  104. }
  105. .show {
  106. display: block;
  107. }
  108. .ellipsis {
  109. overflow: hidden;
  110. text-overflow: ellipsis;
  111. white-space: nowrap;
  112. }