我需要使輸入插入符號變得清晰或透明。我知道一種方法使其透明:如何使輸入光標變爲透明或不變色?
color: transparent;
text-shadow: 0px 0px 0px #000;
但我需要另一種方式。
我需要使輸入插入符號變得清晰或透明。我知道一種方法使其透明:如何使輸入光標變爲透明或不變色?
color: transparent;
text-shadow: 0px 0px 0px #000;
但我需要另一種方式。
input[type="text"]{
color : transparent;
text-shadow : 0 0 0 #000;
}
input[type="text"]:focus{
outline : none;
}
<input type="text" value="test message" />
這將在iOS8上的作品。
<input style="position: fixed; top: -1000px">
也許是有用知道爲什麼你需要別的東西沒有文字陰影? –