我需要使输入插入符不闪烁或透明。我知道一种让它透明的方法:
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" />
关于html - 如何使输入光标透明或不闪烁?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40464558/