Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/hua_ban_yu/article/details/84855662
When iOS through clickable element when Javascript definition, there will be a gray background, resulting in the display is very unfriendly. How to disable this effect, you can -webkit-tap-highlight-color: rgba (0,0,0) to remove this effect.
Code:
span{
-webkit-tap-highlight-color:rgba(0,0,0,0);
}