Im trying to use a svg image as the cursor when hovering over a certain div but I cant get it working. Ive read that it should be as simple as adding this :
cursor: url(http://elusivethemes.com/assets/down.svg), auto;
But it wont seem to work. The strange thing is it works if i use a different svg image from a different url.
Any ideas ?
Thanks in advance.
According to the Mozilla Developer Network
Therefore, you should explicitly declare the height and width in your .svg file.
The .svg you provided has no dimensions declared as you can see:
If you add the width and height attributes, you should be fine.
Just make sure you don't declare the dimensions with percentages