有办法解除吗? 我只是说在浏览器中... ... 当你点击一个链接或者按钮或者一个有点击功能的 div 时,它会闪烁一个灰色的框,在那里你可以快速点击。我该怎么阻止这一切?
You could set a transparent color to the -webkit-tap-highlight-color property of that element.
-webkit-tap-highlight-color
a { -webkit-tap-highlight-color: transparent; }
Using mobile Safari in Phonegap, only this worked:
* { -webkit-backface-visibility: hidden; -webkit-tap-highlight-color: transparent; }
Source: iPhone WebKit CSS animations cause flicker
Also, on the main panel, enable rendering:
div.myPanelOrWhatever { -webkit-transform: translate3d(0, 0, 0) }
Source: Prevent flicker on webkit-transition of webkit-transform