Issue
I'm looking for a solution to change the cursor to a magnifying glass upon hovering over a Fancybox image.
Like on Pinterest, when you hover an image (using chrome).
So far I have this which doesn't have cross-browser support.
.picture img {
cursor:url(/img/layout/backgrounds/moz-zoom.gif), -moz-zoom-in;
}
Is there a better way to approach this problem?
Solution
For that you need to use a cursor file .cur and not a file, so it will be like.gif
.picture img {
cursor:url(/img/layout/backgrounds/zoom.cur), -moz-zoom-in;
}
Answered By - Mr. Alien
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.