最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

jquery - Increase the blinking caret width & height in input field using CSS3 or Javascript - Stack Overflow

programmeradmin2浏览0评论

Increase the blinking caret's width & height in input field using CSS3 or Javascript?

<input type="text" value="" />
    

Increase the blinking caret's width & height in input field using CSS3 or Javascript?

<input type="text" value="" />
    

Increase the blinking cursor pointer width & height in input field.

Share Improve this question edited Jul 10, 2017 at 9:42 Asons 87.3k12 gold badges117 silver badges174 bronze badges asked Jul 10, 2017 at 7:10 anand vishwakarmaanand vishwakarma 791 silver badge7 bronze badges 1
  • 1 Search for caret, not cursor....and the closest you can get today is to simulate it using script: stackoverflow./questions/7339333/styling-text-input-caret – Asons Commented Jul 10, 2017 at 8:24
Add a ment  | 

1 Answer 1

Reset to default 6

You can't increase caret height and width.

There is no css property to do that. But you can change the color of caret.

<style>
  input {
    caret-color:red;
  }
</style>
发布评论

评论列表(0)

  1. 暂无评论