使用动画 GIF 作为网站的图标而不是实际的 .ico 文件是否存在任何技术问题?
当在您的网站上放置网站图标时,您显然可以使用动画 gif,只需将 gif 文件的扩展名更改为 .ico
即可。
您在执行此操作时遇到任何问题吗? (除了用户被一些愚蠢的闪烁的小图标逼疯之外。)
您是否见过浏览器被带有 .ico
扩展名的 gif 文件搞糊涂的情况?
When putting a favicon on your site, you can apparently use an animated gif, just by changing the gif file’s extension to .ico
.
Have you encountered any problems doing this? (Aside from users being driven mad by some stupid little blinking favicon.)
Have you seen a browser get confused by a gif file with a .ico
extension?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
较旧的浏览器可能会出现问题。一如既往地记住,动画往往会惹恼一些人。是的,网站图标很小并且位于地址栏中,但有些人过去常常因为滚动状态栏消息而关闭 JavaScript。仅仅因为你能做到并不意味着你应该这样做。
Older browser probably will have an issue with it. And as always remember that animations tend to annoy some people. Yes, favicons are small and in the address bar but some people used to turn off JavaScript just because of scrolling status bar messages. Just because you can do it doesn't mean you should.