android webview 长按复制,Android webview 点击或长按有蒙层 – 热爱改变生活
生活随笔
收集整理的这篇文章主要介绍了
android webview 长按复制,Android webview 点击或长按有蒙层 – 热爱改变生活
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
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);
}
总结
以上是生活随笔为你收集整理的android webview 长按复制,Android webview 点击或长按有蒙层 – 热爱改变生活的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 市面上空压机价格差别为什么这么大?
- 下一篇: android 尺寸变化动画,Andro