开发者

Disable IPad layer on "focus"

I couldn't find anything on Google, I hope anyone has an answer!

When I touch an element which can receive focus such as an 开发者_如何学运维map shape or a "same-page" <a> on IPad I can see a black semi-opaque layer above the element.

I just want to define MY behaviour of focus or equivalent on these elements, but I didn't find how to disable this layer!

Is there possible??

Thanks in advance!


You can use

-webkit-tap-highlight-color:<css-color>

There is already an article on stackoverflow: -webkit-tap-highlight-color: rgba(0,0,0,0); on a div?

Report to this manual: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/AdjustingtheTextSize/AdjustingtheTextSize.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜