CSS for grabbing cursors (drag & drop)

后端 未结 7 1022
一整个雨季
一整个雨季 2020-11-30 20:05

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 backg

7条回答
  •  囚心锁ツ
    2020-11-30 20:44

    You can create your own cursors and set them as the cursor using cursor: url('path-to-your-cursor');, or find Firefox's and copy them (bonus: a nice consistent look in every browser).

提交回复
热议问题