reset.scss 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. html {-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;}
  2. input[type="submit"],
  3. input[type="reset"],
  4. input[type="button"],
  5. input{-webkit-appearance:none; resize: none;}
  6. button{
  7. outline: none;
  8. border:none;
  9. }
  10. img {max-width: 100%;height: auto;width:auto\9; /* ie8 */border: none;}
  11. /* 初始化开始*/
  12. *{margin:0; padding:0;box-sizing:border-box;}
  13. body{background-color:#fff;font-family:"Microsoft YaHei";}
  14. html,body{
  15. height: 100%;
  16. }
  17. em,i,b{font-weight: normal;font-style: normal;}
  18. a{text-decoration:none;}
  19. a:hover{ text-decoration:none;}
  20. li{list-style:none;}
  21. ul,li{padding: 0;margin: 0;}
  22. h1, h2, h3, h4, h5, h6{ font-weight: normal;}
  23. .clearfix:after{content:""; color:#34495e; display:block; visibility:hidden; height:0; clear:both;}
  24. .clearfix{zoom:1;}
  25. .fl{float:left;}
  26. .fr{float:right;}
  27. input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {color:$font-color;}
  28. input:-moz-placeholder, textarea:-moz-placeholder {color: $font-color;}
  29. input::-moz-placeholder, textarea::-moz-placeholder {color: $font-color;}
  30. input:-ms-input-placeholder, textarea:-ms-input-placeholder {color: $font-color;}
  31. /* 初始化结束 */
  32. ::-webkit-scrollbar {
  33. height: 5px;
  34. }
  35. ::-webkit-scrollbar-track {
  36. background-color: #e5e5e5;
  37. }
  38. ::-webkit-scrollbar-thumb {
  39. background-color: rgba(0, 0, 0, 0.1);
  40. }
  41. ::-webkit-scrollbar-corner {
  42. background-color: black;
  43. }