博客网页内的鼠标样式

在css样式body里加

body {
cursor: url(https://cdn.jsdelivr.net/gh/fz6m/[email protected]/image/cursor/normal.cur), default;
}
a:hover{cursor:url(https://cdn.jsdelivr.net/gh/fz6m/[email protected]/image/cursor/ayuda.cur) 15 15, pointer;}	
body{ cursor: url(https://files-cdn.cnblogs.com/files/zouwangblog/cursor.ico),auto;}

补充:png和jpg可以直接转换为ico格式,使用一个在线生成ico图标的网站即可

http://www.bitbug.net/

猜你喜欢

转载自www.cnblogs.com/melodyjerry/p/13365356.html