reset.less 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. html{font:62.5% PingFang SC,Helvetica Neue,Helvetica,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif; -ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;
  2. height: 100%;
  3. }
  4. body{
  5. height: 100%;
  6. }
  7. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,button,textarea,p,blockquote,th,td,form,pre{margin: 0; padding: 0; -webkit-tap-highlight-color:rgba(0,0,0,0);}
  8. img{display: inline-block; border: none; vertical-align: middle;}
  9. a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);}
  10. a{text-decoration: none; background:transparent}
  11. a:active,a:hover{outline:0}
  12. table{border-collapse: collapse; border-spacing: 0;}
  13. li{list-style:none;}
  14. b,strong{font-weight:700;}
  15. button,input,select,textarea{font-size: 100%; }
  16. input,button,textarea,select,optgroup,option{font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; outline: 0;}
  17. body{
  18. background-color: #edeef2;
  19. }
  20. h1, h2, h3, h4, h5, h6{font-weight:500;}
  21. address,cite,dfn,em,var{font-style:normal;}
  22. dfn{font-style:italic}
  23. sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
  24. button,input,optgroup,select,textarea{color:inherit;margin:0; outline: 0;border: 0}
  25. button,select{text-transform:none}
  26. //select{-webkit-appearance: none; border:none;}
  27. input{line-height:normal; }
  28. input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}
  29. input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}
  30. input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
  31. input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
  32. label,input{vertical-align: middle;}
  33. .cl:after{content: "";display: block;clear: both}
  34. .cl:before{content: "";display: table}
  35. i,em{
  36. font-style: normal;
  37. }
  38. .mb-10{
  39. margin-bottom: 10px;
  40. }
  41. .mb_15{
  42. margin-bottom: 15px;
  43. }
  44. .mr_15{
  45. margin-right: 15px;
  46. }
  47. .mt_15{
  48. margin-top: 15px;
  49. }
  50. .layui-btn-sm i {
  51. font-size: 12px!important
  52. }
  53. a {
  54. color: #666;
  55. &:hover {
  56. color: rgb(14, 194, 244);
  57. }
  58. }