Using .ico file for cursor

荒凉一梦 提交于 2020-01-06 14:21:48

问题


Can I use an .ico in the css cursor property without consequences (i.e full browser compatibility.) or must I use a .cur?

As in:

cursor: url(img/cursor.ico);

回答1:


cur files and ico files are almost identical. The only important difference is that the cur file has a hotspot at the tip of the icon.

You should find that both work identically over the web.



来源:https://stackoverflow.com/questions/7219865/using-ico-file-for-cursor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!