0

Second example work, the hand did show up, but why the first div doesn't work?

div {
  cursor: url('http://i.imgur.com/EuDeZWn.png'), auto;
}

span {
  cursor: url('http://www.javascriptkit.com/dhtmltutors/cursor-hand.gif'), auto;
}
<div>
  target
</div>
<br>
<br>
<span>
  target 2
</span>
Eunice Chia
  • 355
  • 1
  • 11

1 Answers1

0

From MDN:

In Gecko (Firefox) the limit of the cursor size is 128×128px. Larger cursor images are ignored. However, you should limit yourself to the size 32×32 for maximum compatibility with operating systems and platforms.

You image is 237 x 173, which is significantly larger.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335