小注:移除触屏设备"点击"产生的半透明灰色背景及边框
a,button,input[type="text"]{
-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; /* For some Androids */
-webkit-user-modify: read-write-plaintext-only; /* for 4.0.4 */
outline: none !important;
}
* {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
:focus {
outline: 0;
border:none;
color: rgba(0, 0, 0, 0);
}
参考链接:
Disable orange outline highlight on focus
http://stackoverflow.com/questions/5210481/disable-orange-outline-highlight-on-focus