-webkit抽头高亮颜色在Android的浏览器3 [英] -webkit-tap-highlight-color in Android 3 browser

查看:189
本文介绍了-webkit抽头高亮颜色在Android的浏览器3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有多个输入形式。
每当我挖掘的形式,它强调了灰色。

We have a form with a number of inputs. Whenever I tap the form, it's highlighted gray.

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

(我用的RGBA(255,255,255,0)以及)

(I used rgba(255,255,255,0) as well)

这禁用的iOS5和Android的Andr​​oid 4.本2.3.4行为的亮点不突出以及(我想这只是不具有这种行为)。

This disables this highlight behavior on iOS5 and Android 4. Android 2.3.4 doesn't highlight as well (I suppose it just doesn't have this behavior).

但在Galaxy Tab的10.1灰色框是仍然存在 - 任何办法解决它。

But on Galaxy Tab 10.1 the gray box is still there - any way to fix it?

推荐答案

您的问题可以用解决:

* {
    -webkit-tap-highlight-color: transparent;
}

这篇关于-webkit抽头高亮颜色在Android的浏览器3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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