HTML5-动画光标

HTML5-动画光标,html,cursor,custom-cursor,Html,Cursor,Custom Cursor,我的HTML文档需要一个链接到动画gif文件的自定义光标。 我的游标属性有什么问题 <!doctype html> <html> <head> <style type="text/css"> body{ cursor: url('images/hero.gif'), auto; } </style> </

我的HTML文档需要一个链接到动画gif文件的自定义光标。 我的游标属性有什么问题

<!doctype html> <html>
    <head>
        <style type="text/css">
            body{
                cursor: url('images/hero.gif'), auto;
            }
        </style>
    </head>
    <body>

    </body>
</html>

身体{
光标:url('images/hero.gif'),自动;
}

参见;我认为相关方面是“可设置动画:否”。

动画PNG或GIF将不会创建动画光标。这是渲染引擎的限制

请参阅:

body{cursor:url('images/hero.png')、auto;cursor:url('images/hero.png')、pointer;}或此?正文{cursor:url('hero.ico'),默认;}