2016-11-07 92 views

回答

0

input[type="text"]{ 
 
    color : transparent; 
 
    text-shadow : 0 0 0 #000; 
 
} 
 
input[type="text"]:focus{ 
 
    outline : none; 
 
}
<input type="text" value="test message" />

+0

是的,它正在工作,但我需要一些解決方案,而不使用'文字 - 陰影' –

+0
+0

也許有一些CSS屬性,使光標unwinking? –

0

這將在iOS8上的作品。

<input style="position: fixed; top: -1000px">