从锚元素与Firefox浏览移动的Andr​​oid设备上拆下水龙头大纲水龙头、大纲、元素、设备

2023-09-07 18:01:41 作者:我含笑喝下

在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

 
精彩推荐
图片推荐