在HTML正文中增加光标大小 [英] Increase cursor size in HTML body

查看:500
本文介绍了在HTML正文中增加光标大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以使用 CSS jQuery 在基于浏览器的应用程序中以编程方式增加光标的大小?

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

我可以用CSS来改变光标的类型,像这样...

I can change the type of cursor with CSS like so...

body {
    cursor: crosshair;
}

但我看不到在CSS中增加游标的大小。 / p>

but I see no provision in CSS to increase the size of the cursor.

推荐答案

没有关于游标大小的属性,但仍然可以使用自定义游标,显示自定义图像。有关详情,请参阅创建自定义光标

there is no property regarding size of cursor but still you can use custom cursors, the trick behind this is to hide real cursor while show custom image. You can find more about this here Create Custom cursors

这篇关于在HTML正文中增加光标大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆