我需要使输入插入符号变得清晰或透明。我知道一种方法使其透明:如何使输入光标变为透明或不变色?
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">
也许是有用知道为什么你需要别的东西没有文字阴影? –