Take the 2-minute tour ×

I want change div mouse pointer icon when div:hover active with my own png icon. how can I do that with css ,jquery, javasript ?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Using CSS :

#yourDivId:hover {
   cursor:url('yourPath.png'), crosshair;

Note that it's better to provide a fallback (separate values with commas). Here crosshair will be used if yourPath.png can't be used.

share|improve this answer
add comment

Your Answer


