Font Awesome has a very good collection of icons to be used in web projects. I want to use one of those icons as cursor (custom cursor).
In my understanding, Custom Cursors need an image url, but I am unable to find the image urls for Font Awesome icons.
The canvas method mentioned results in blurry cursors.
Using SVG offers better results:
cursor: url( '/assets/img/volume-up.svg' ), pointer;
In the end, I couldn't get @fish_ball's code working reliably, so I just downloaded the images, used gimp to crop and edit them to 32×32px, and used them like this:
The
1 30
part sets the mouse pointer 'hotspot' 1px from the left and 30px from the top of the image.Got it!
And I made a demo: http://jsfiddle.net/rqq8B/2/
There is jQuery Awesome Cursor, where you can add font-awesome icons to your cursor by calling only one simple code:
Or passing it some options:
Disclaimer: I am NOT the author of this library I have just found it.