2

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!

MatTheCat
  • 18,071
  • 6
  • 54
  • 69

1 Answers1

4

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

Cœur
  • 37,241
  • 25
  • 195
  • 267
Yoann
  • 4,937
  • 1
  • 29
  • 47