在点击Android浏览器绿色边框 [英] Android browser GREEN border on click

查看:138
本文介绍了在点击Android浏览器绿色边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用HTML,CSS和Javascript一件事,实在是烦人的是,任何链接或按钮等Android浏览器内点击时获取与绿色边框高亮显示。

I want to develop a web application using HTML, CSS and Javascript one thing that is really annoying is that any link or button etc when clicked inside the Android browser gets highlighted with a green border.

要证明我的意思是我已经包含了一个链接到包含基本的游戏写在CSS页面

To demonstrate what I mean I have included a link to a page that contains a basic game written in CSS

http://marbles2.com/app/

有没有什么办法,你都知道禁用点击绿色边框?

Is there any way that you are aware of to disable the click green border?

干杯

推荐答案

在你的CSS样式表(一个在Web应用程序),补充一点:

In your CSS stylesheet (the one in your web application), add this:

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);  
}

这篇关于在点击Android浏览器绿色边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆