Is it possible to avoid the black overlay when clicking links on Safari on iPhone?

StackOverflow https://stackoverflow.com/questions/2999006

  •  24-10-2019
  •  | 
  •  

Question

Is it possible to avoid the black overlay when clicking links on Safari on iPhone?

there is something like this for the web version of Safari

:focus {
outline: 0;
}

so can I avoid to see a black box when i click anything on a web page on for safari on iPhone?

Was it helpful?

Solution

a { -webkit-tap-highlight-color: transparent; }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top