reset.css 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. @charset "utf-8";
  2. * {
  3. -webkit-tap-highlight-color: transparent;
  4. /**以下两行隐藏一些input控件本身样式及select箭头***/
  5. -webkit-appearance: none;
  6. -moz-appearance: none;
  7. /**以下3行解决webkit translation 闪烁问题**/
  8. -webkit-backface-visibility: hidden;
  9. /*-webkit-perspective: 800;
  10. -webkit-transform-style: preserve-3d;*/
  11. /****注意这行会引起IOS下面文字发虚****/
  12. /*字体平滑*/
  13. -webkit-font-smoothing: antialiased;
  14. /***输入框问题**/
  15. /*-webkit-user-select:auto;*/
  16. }
  17. /*=========================Reset_start==========================*/
  18. body,h1,h2,h3,h4,h5,h6,div,p,dl,dt,dd,ol,ul,li,form,table,th,td,a,img,span,strong,var,em,input,textarea,select,option{margin: 0; padding: 0;}
  19. /*html,body{font-family:"宋体","微软雅黑",Arail,Tabhoma; font-size: 12px; text-align: left;}*/
  20. ul,ol{list-style: none;}
  21. img{border: 0;}
  22. input,select,textarea{outline:0;}
  23. button{
  24. outline:none;
  25. cursor: pointer;
  26. }
  27. textarea{resize:none;}
  28. table{border-collapse: collapse; border-spacing: 0;}
  29. th,strong,var,em{font-weight: normal; font-style: normal;}
  30. a{text-decoration: none;}
  31. /*a:link,a:visited,a:hover,a:active{text-decoration:none;} */
  32. /*==========================Reset_End===========================*/
  33. /*******font and base*********/
  34. @font-face {
  35. font-family: "AritaHeiti";
  36. /*src: url('../fonts/Arita-Heiti.ttf');*/
  37. src: url('http://yun-image.elab-plus.com/font/Arita-Heiti.ttf');
  38. }
  39. @font-face {
  40. font-family: "DINCond";
  41. src: url('http://yun-image.elab-plus.com/font/DINCond-Bold.otf');
  42. }
  43. @font-face {
  44. font-family: "DINCond-Light";
  45. src: url('../fonts/DINCond-Light.otf');
  46. }
  47. /*
  48. @font-face {
  49. font-family: "AritaHeiti-Bold";
  50. src: url('../fonts/AritaHeiti-Bold.ttf');
  51. }
  52. @font-face {
  53. font-family: "AritaHeiti-Light";
  54. src: url('../fonts/AritaHeiti-Light.ttf');
  55. }
  56. @font-face {
  57. font-family: "DINCondensed";
  58. src: url('../fonts/DIN Condensed Bold.ttf');
  59. }
  60. @font-face {
  61. font-family: "DINCondensed";
  62. src: url('../fonts/aven.ttf');
  63. }
  64. @font-face {
  65. font-family: "FZDeSaiHei125S";
  66. src: url('../fonts/FZDeSaiHei125S-R-GB.ttf');
  67. }
  68. @font-face {
  69. font-family: "DINCond";
  70. src: url('../fonts/DINCond-Light.otf');
  71. }
  72. @font-face {
  73. font-family: "aven";
  74. src: url('../fonts/aven.ttf');
  75. }*/
  76. .clearfix {
  77. zoom: 1;
  78. }
  79. .clearfix:after {
  80. content: '';
  81. display: block;
  82. clear: both;
  83. }