reset.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. html,
  2. body {
  3. margin: 0px;
  4. padding: 0px;
  5. overflow: hidden;
  6. -webkit-touch-callout: none;
  7. -webkit-user-select: none;
  8. -khtml-user-select: none;
  9. -moz-user-select: none;
  10. -ms-user-select: none;
  11. user-select: none;
  12. width: 100%;
  13. height: 100%;
  14. color: #505050;
  15. font: 26px "Microsoft YaHei", "Microsoft JhengHei";
  16. }
  17. *,
  18. ::before,
  19. ::after {
  20. box-sizing: border-box;
  21. }
  22. a {
  23. text-decoration: none;
  24. }
  25. a:hover, a:visited, a:link, a:active {
  26. color: #505050;
  27. }
  28. ul,
  29. li,
  30. h2,
  31. h3,
  32. h4,
  33. h5,
  34. p {
  35. margin: 0px;
  36. padding: 0px;
  37. list-style: none;
  38. }
  39. p {
  40. font-size: 1rem;
  41. }
  42. * {
  43. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  44. -webkit-tap-highlight-color: transparent;
  45. }
  46. input::-webkit-outer-spin-button,
  47. input::-webkit-inner-spin-button {
  48. -webkit-appearance: none !important;
  49. }
  50. input {
  51. -webkit-appearance: none !important;
  52. border: none;
  53. outline: none;
  54. border-radius: 0;
  55. }
  56. input[type="number"] {
  57. -moz-appearance: textfield;
  58. }
  59. input::-webkit-input-placeholder {
  60. /*WebKit browsers*/
  61. color: #999;
  62. font-size: 0.7rem;
  63. }
  64. input::-moz-input-placeholder {
  65. /*Mozilla Firefox*/
  66. color: #999;
  67. font-size: 0.7rem;
  68. }
  69. input::-ms-input-placeholder {
  70. /*Internet Explorer*/
  71. color: #999;
  72. font-size: 0.7rem;
  73. }