Saturday, 31 August 2013

Using external images for CSS custom cursors

Using external images for CSS custom cursors

Is it possible to use external image URLs for CSS custom cursors? The
following example doesn't work:
HTML:
<div class="test">TEST</div>
CSS:
.test {
background:gray;
width:200px;
height:200px;
cursor:url('http://upload.wikimedia.org/wikipedia/commons/d/de/POL_apple.jpg');
}
Fiddle: http://jsfiddle.net/wNKcU/4/

No comments:

Post a Comment