H5 WEB重置样式
H5
@charset "utf-8";
*{padding:0;margin:0;}
html {
font-size: 100px;
height: 100%;
color: #333;
font-family:"Helvetica Neue", SimHei, sans-serif;
/*-webkit-backface-visibility: hidden;*/
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-font-smoothing: antialiased;
-webkit-user-select: none; /* 禁止选中文本(如无文本选中需求,此为必选项) */
user-select: none;
}
body {
position: relative;
width: 100%;
min-height: 100%;
font-size: 0.15rem;
}
a {
color: #333;
text-decoration: none;
}
a:hover,a:active,a:focus {
color: #18b5ec;
text-decoration: none;
}
a, img {
-webkit-touch-callout: none; /* 禁止长按链接与图片弹出菜单 */
}
a,input{
-webkit-tap-highlight-color:rgba(0,0,0,0);/*ios android去除自带阴影的样式*/
}
input {
/* android 下聚焦后, 移除边框 */
-webkit-user-modify: read-write-plaintext-only;
-webkit-appearance: none;/*清除按钮默认样式*/
border: 0;/*去除边框*/
outline: none;/*去除点击边框*/
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}
ul,ol,li {list-style-type:none;}