android用户点击一个链接,会出现一个边框或者半透明灰色遮罩, 不同生产商定义出来额效果不一样,可设置-webkit-tap-highlight-color的alpha值为0去除部分机器自带的效果
webkit是苹果浏览器引擎,tap点击,highlight背景高亮,color颜色,颜色用数值调节。
a,button,input,textarea{
-webkit-tap-highlight-color: rgba(0,0,0,0)
-webkit-user-modify:read-write-plaintext-only;
}
input,a,button:focus{
outline: none;
-moz-outline:none;
-moz-outline-style:none
}
a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);}安卓手机
转载于:https://my.oschina.net/yanyaya/blog/796284