Cursor image not working in IE

前端 未结 1 1536
星月不相逢
星月不相逢 2021-01-27 05:20

I have a div with the following css.

.mydiv
{
    cursor: url(\"/image/cursor-hand.png\"), move;
}

Works fine in chrome, Firefox and safari, Bu

1条回答
  •  迷失自我
    2021-01-27 06:01

    IE doesn't support normal graphics, you need a cursor file .cur.

    See also:

    • quirksmode.org: compatibility list: Cursor
    • MDN: Using URL values for the cursor property

    0 讨论(0)
提交回复
热议问题