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 点击或长按有蒙层 – 热爱改变生活的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 市面上空压机价格差别为什么这么大?
- 下一篇: 炊大皇全面屏多层钢炒锅需要开锅吗?