Reputation: 1
What is the best method to generate a custom cursor image for use in conjunction with a CSS/HTML5 website? Flash is not an option in this case, and if it's possible I'd prefer to be able to use CSS instead of reverting to Javascript. If Javascript is the only viable option, which solution requires the least amount of libraries to be loaded while being compatible with all browsers? Thank you for your help.
Upvotes: 0
Views: 200
Reputation: 1308
you can use the CSS property cursor
, you can define the type or an url to the image you want to use:
cursor: url('image.gif'), pointer;
IE6 supports only images in format .cur or .ani
Upvotes: 2