移动端取消元素添加点击事件时背景高亮

通用方法:在你添加了点击事件的元素的样式中加入以下样式,

-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

猜你喜欢

转载自blog.csdn.net/linxner/article/details/82626082