@charset "utf-8";
/ 禁用iPhone中Safari的字號自動調整 /
html {
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
font-family: "黑體";
}
/ 去除iPhone中預設的input樣式 /
input[type="submit"],input[type="reset"],input[type="button"],input:focus,button:focus,select:focus,textarea:focus{ outline: none;}
input{font-family: "黑體";-webkit-appearance:none; resize: none; border-radius: 0;}
body,div,ul,li,ol,h1,h2,h3,h4,h5,h6,input,textarea,select,p,dl,dt,dd,a,img,button,form,table,th,tr,td,tbody,article,
aside, details,figcaption,figure,footer,header,hgroup, menu,nav,section{ -webkit-tap-highlight-color:rgba(0, 0, 0, 0); }
/ 設定HTML5元素為塊 /
article, aside, details,figcaption,figure,footer,header,hgroup, menu,nav,section {
display: block;
}
/ 圖片自適應 /
img {
max-width: 100%;
height: auto;
width:auto\9; / ie8 /
-ms-interpolation-mode:bicubic;/為了照顧ie圖片縮放失真/
}
/ 初始化 /
body,div,ul,li,ol,h1,h2,h3,h4,h5,h6,input,textarea,select,p,dl,dt,dd,a,img,button,form,table,th,tr,td,tbody,article,
aside, details,figcaption,figure,footer,header,hgroup, menu,nav,section{margin:0; padding:0; border:none;}
body{background:
em,i{font-style:normal;}
strong{font-weight: normal;}
.clearfix:after{content:""; display:block; visibility:hidden; height:0; clear:both;}
.clearfix{zoom:1;}
a{text-decoration:none; color:
a:hover{color:
ul,ol{list-style:none;}
h1, h2, h3, h4, h5, h6{ font-size:100%; font-family: Microsoft YaHei;}
img{border: none;}
複製程式碼