把光标颜色设置为透明色和父类一样就看不出来了,就好像取消了caret-color: transparent; 设置了这个属性后,无论如何点击都好像没有光标似的 转载于:https://www.cnblogs.com/renjianjun/p/9984550.html