脱字色

插入颜色 CSS 属性指定插入符的颜色,插入点的可见指示符,其中文本和其他内容通过用户的键入或编辑插入。

HTML

<input id="example" />

CSS

#example {
  caret-color: red;
}

资源: