光标颜色跟随文本颜色。因此,当将颜色设置为透明时,光标将消失。
<input type="text" style="color: transparent;" x-webkit-speech />
查看此答案
归结为input[type=text]{ cursor: none; }
input[type=text]{ cursor: none; }
编辑:看了你的jsfiddle,我现在意识到你正在使用新的语音输入类型,这似乎不起作用。