从锚元素与Firefox浏览移动的Andr​​oid设备上拆下水龙头大纲 [英] Remove tap outline from anchor element on Android device viewed with Firefox mobile

查看:137
本文介绍了从锚元素与Firefox浏览移动的Andr​​oid设备上拆下水龙头大纲的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android平板电脑的Firefox移动周围放置一个锚元素的默认轮廓时,临危用自来水事件的焦点。我能找到没有办法将其删除,即相当于

Firefox mobile on Android tablet places a default outline around an anchor element when it recieves focus with a tap event. I can find no way to remove it ie the equivalent of

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

对于Firefox浏览器。

for Firefox.

推荐答案

我不认为这是有可能通过CSS的Mozilla浏览器。

I don't think that this is possible through css for mozilla browsers.

http://peter.sh/experiments/vendor- prefixed-CSS属性 - 概述/

也许你可以绑定一个JavaScript事件监听聚焦状态的锚回调时,它的重点是自动模糊的元素。它更像是一个黑客,但它应该做的工作。

Maybe you could bind a Javascript EventListener "onfocus" to the anchor with a callback which automatically blurs the element when it is focused. It's more like a hack, but it should do the job

这篇关于从锚元素与Firefox浏览移动的Andr​​oid设备上拆下水龙头大纲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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