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.
55 lines
1.5 KiB
CSS
55 lines
1.5 KiB
CSS
9 months ago
|
/*ios移动端关于事件绑定区域点击闪屏的解决*/
|
||
|
html,
|
||
|
body {
|
||
|
/* -webkit-tap-highlight-color: rgba(0,0,0,0);
|
||
|
-webkit-transform-style:preserve-3d;
|
||
|
-webkit-transform: translate3d(0, 0, 0);
|
||
|
-moz-transform: translate3d(0, 0, 0);
|
||
|
-ms-transform: translate3d(0, 0, 0);
|
||
|
transform:translate3d(0,0,0);
|
||
|
-webkit-backface-visibility:hidden;
|
||
|
-moz-backface-visibility: hidden;
|
||
|
-ms-backface-visibility: hidden;
|
||
|
backface-visibility: hidden;
|
||
|
-webkit-perspective: 1000;
|
||
|
-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 {
|
||
|
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}
|
||
|
|