一、取消a标签在移动端点击时的蓝色
a{ -webkit-tap-highlight-color: rgba(255,0); -webkit-user-select: none; -moz-user-focus: -moz-user-select: none; }
二、使用图片作为a标签的点击按钮时,当触发touchstart的时候,往往会有一个灰色的背景
a,a:hover,a:active,a:visited,a:link,a:focus{ -webkit-tap-highlight-color:rgba(0,1)"> transparent; outline:none; background: text-decoration: none; }
三、改变选中内容的背景颜色
::selection { background: #FFF; color: #333; } ::-moz-selection { ::-webkit-selection { #333; }
四、去除ios input框点击时的灰色背景
-webkit-tap-highlight-color:rgba(0,0);