在钉钉端的页面使用了swiper.js 滑动效果
在安卓端应用按钮点击正常
IOS点击发生偏移
解决方案
/*解决兼容IOS点击*/
*{-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;}
/*最后在统一给个点击个点击样式*/
.con a:active{background: url('../img/summer_icons-11.png');}
-webkit的意思是:IOS浏览器;
-tap的意思是:点击;
-highlight的意思是:背景高亮;
-color的意思是:颜色
rgba(0,0,0,0) = transparent这两个是一个意思,就是纯黑透明;