2014-08-28 16 views

回答

0

我不知道你的意思,但這個嘗試任何想法CSS代碼:

textarea:focus, input:focus{ 
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);  
    -webkit-user-modify: read-write-plaintext-only; 
    -webkit-tap-highlight-color: transparent; 
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
} 

這將禁用橙色。 沒有CSS,它不會工作。

來源: Disable orange outline highlight on focus

+1

是的,但我寧願救他一個破碎的手機。 – hansottowirtz 2014-08-28 12:21:14

+0

是禁用腳本的任何代碼cuz CSS代碼,因爲你提到不工作 – 2014-08-28 12:39:15

+0

你可以嘗試新的代碼嗎? – hansottowirtz 2014-08-28 12:44:04