When browsing the web in a mobile browser at work, when you click on a button on the page or an element with a click event, a default highlight box will appear, which affects the overall sensory experience.
This can be solved with a simple css3 attribute: tap-highlight-color, preferably with the webkit browser prefix.
-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; /* For some Androids,个人感觉是低版本的安卓,4.0以下 */
Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.