Increase cursor size in HTML body

后端 未结 2 1081
时光取名叫无心
时光取名叫无心 2020-12-11 18:10

Is there any way to programmatically increase the size of the cursor in a browser based application using CSS or jQuery?

I can chan

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 18:48

    You can't increase the size of the default cursor using CSS or jQuery.

    But you can replace the cursor with the custom image of any size using pure CSS by cursor:Url() property.

    This is pure CSS and no need of Javascript/jQuery hack for this.

    For more info: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor/url

提交回复
热议问题