Android 使用 webview 加载本地 html,在本地 html 上面点击的时候会有一层橙色的蒙层,使用下面的代码可以去掉。
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, a, i, del, span{
margin: 0;
padding: 0;
font-family:"微软雅黑";
cursor: pointer;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;/* 取消高亮 */
-webkit-focus-ring-color: rgba(0, 0, 0, 0);
}
:focus, :hover, :active{
-webkit-tap-highlight-color:rgba(0,0,0,0);
}