You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB
CSS

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*ios移动端关于事件绑定区域点击闪屏的解决*/
html,
body {
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-backface-visibility:hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden;
-moz-perspective: 1000;
-ms-perspective: 1000;
perspective: 1000;
}
/*清除一些默认样式, 这是根节点字体*/
img{border:0;}
a{text-decoration:none; color:#000; outline:none;}
a:hover{text-decoration:none;}
em,strong,i{font-style:normal;}
li{list-style:none;}
h1,h2,h3,h4,h5,h6,span,strong,i,ul,li,label,button{font-size:100%;font-weight:normal;margin: 0;padding: 0;}
button{background-color: #fff;}
textarea {
margin: 0;
padding: 0;
outline: none;
border: none;
resize: none;
}
body{
margin: 0;
}
/*输入框,多行输入框在IOS上的默认样式清除*/
input[type="button"], input[type="submit"], input[type="reset"] {-webkit-appearance: none;}
textarea { -webkit-appearance: none;}
input {
line-heightnormal;
outline: none;
-webkit-appearance: none;/*去除系统默认样式*/
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);/*点击高亮的颜色*/
-webkit-user-select: auto;
-webkit-user-modify: read-write-plaintext-only;
}
/*body {
-webkit-user-select: auto;
}*/
.clearfix {*zoom:1;}
.clearfix:after {content:'\200B';clear:both;display:block;height:0px}