base.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. *{box-sizing: border-box;padding: 0;margin:0; font-family: "Microsoft Yahei", "微软雅黑";}
  2. html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
  3. body,ol,table,tr,td,ul,li,dt,dd,dl,h1,h2,h3,h4,h5,h6,form,input,select,textarea,p,em,i,b,strong,span{font-weight: normal;list-style-type:none;font-style: inherit;}
  4. h1,h2,h3,h4,h5,h6{
  5. margin: 0 !important;
  6. }
  7. a{text-decoration: none;}
  8. a:hover{text-decoration: none !important;}
  9. img{border: none; vertical-align: middle}
  10. input,button,select,textarea{outline:none}
  11. .clearfix:before,.clearfix:after{display:table;content:'';line-height:0;}
  12. .clearfix:after{clear:both;}
  13. .clear{clear:both;}
  14. /*超出隐藏省略*/
  15. .textmore{display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
  16. /*文字大小设置*/
  17. .f12{
  18. font-size: 12px;
  19. }
  20. .f14{
  21. font-size: 14px;
  22. }
  23. .f16{
  24. font-size: 16px;
  25. }
  26. .f18{
  27. font-size: 18px;
  28. }
  29. .f24{
  30. font-size: 24px;
  31. }
  32. /*左右浮动设置*/
  33. .fl{
  34. float: left;
  35. }
  36. .fr{
  37. float: right;
  38. }
  39. .ft-weight{
  40. font-weight: bold;
  41. }
  42. /*边框设置*/
  43. .box-left-no{
  44. border-left: none;
  45. }
  46. .box-right-no{
  47. border-right: none;
  48. }
  49. .box-top-no{
  50. border-top: none;
  51. }
  52. .box-bottom-no{
  53. border-bottom: none;
  54. }
  55. /*margin padding none*/
  56. .margin-no{
  57. margin: 0;
  58. }
  59. .paddding-no{
  60. padding: 0;
  61. }
  62. .text-left{
  63. text-align: left !important;
  64. }
  65. .text-right{
  66. text-align: right !important;
  67. }
  68. .text-center{
  69. text-align: center !important;
  70. }
  71. /*通用颜色*/