我的动画图标不显示动画 [英] My animated favicon does not show animation
本文介绍了我的动画图标不显示动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用这些
<link rel="icon" href="/images/favicon.png" type="image/x-icon" />
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
我可以在地址栏看到favicon,但没有动画?我还应该做什么?
I can see favicon in my address bar but no animation? What else am I supposed to do?
推荐答案
摆脱指向 favicon的第一行。 png
以便您只有
Get rid of the first line pointing to the favicon.png
so that you have only
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
确保 favicon.ico
是一个真实动画图标,而不是重命名的。您可以使用 http://www.animatedfavicon.com 或 http://www.favicongenerator.org 将动画 .gif
文件转换为动画 .ico 文件。
And ensure that the favicon.ico
is a real animated favicon and not something renamed. You can use http://www.animatedfavicon.com or http://www.favicongenerator.org to convert an animated .gif
file to an animated .ico
file.
这篇关于我的动画图标不显示动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文