抓取游标的CSS(拖放) [英] CSS for grabbing cursors (drag & drop)

查看:73
本文介绍了抓取游标的CSS(拖放)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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屋!

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