抓取游标的CSS(拖放) [英] CSS for grabbing cursors (drag & drop)
问题描述
我有一个JavaScript webapp,用户需要抓住背景来移动整个屏幕。所以我想让光标在悬停在背景上时改变。理想的 -moz-grab
和 -moz-grabbing
CSS光标。当然,他们只在Firefox中工作...有其他浏览器的等效光标吗?
I have a JavaScript webapp where the user needs to grab the background to move the whole screen around. So I want the cursor to change when they're hovering over the background. The -moz-grab
and -moz-grabbing
CSS cursors are ideal for this. Of course, they only work in Firefox... are there equivalent cursors for other browsers? Do I have to do something a little more custom than standard CSS cursors?
推荐答案
我认为 move
可能是最接近的标准光标值您正在做什么:
I think move
would probably be the closest standard cursor value for what you're doing:
移动
表示内容
move
Indicates something is to be moved.
这篇关于抓取游标的CSS(拖放)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!