-webkit-tap-highlight-color
This property is used to set the color of the background box that the element responds to when a click event is triggered on a mobile device (such as adnroid, IOS).
For example, in the Adnroid version, when you click the A tab, an orange small box will appear to indicate the response of the click.
At this point, if you set the Tap-highlight-color value for the element, for example:
-webkit-tap-highlight-color:rgba (240,240,240,0.7);
You can change the color of the background frame when the element is clicked.
If you want the background box to not appear, you can set the alpha value in Rgba to 0, such as RGBA (0,0,0,0)
There's also a way to set the color of the selected text.
The background color is usually blue when we select text. We can use the following style to set the style of the page's selection:
:: Selection {background: #FFF; color: #333;}
::-moz-selection {background: #FFF; color: #333;}
::-webkit-selection {background: #FFF; color: #333;}
If you want to remove the color of the selection, set the background to none.
-webkit-tap-highlight-color