2016-11-07 93 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">