newcool
newcool

Reputation: 319

HTML Animated Cursors

I have tried animating cursors with .ani cursor files but none of them would load properly on Chrome or Firefox. It would always default back to the normal blue circle. Any .cur (non-animated) files would work properly.

Am I missing something?

.q {
cursor:url(images/minigreen/ayes/wait.ani), wait
}
<html>
<head>
<span class="q">wait</span><br>
</head>
</html>

Upvotes: 2

Views: 521

Answers (1)

Jon P
Jon P

Reputation: 19772

Quite simply, .ani is not supported, emphasis, mine:

All image formats supported by Gecko can be used. This means that you can use PNG, GIF, JPG, BMP, CUR, etc. images. ANI is not supported. An animated PNG or GIF will not create an animated cursor.

Source

Upvotes: 3

Related Questions