Hexo Yilia主题设置个性鼠标指针 2020-06-16 此文章将教大家如何让用户浏览个人博客时鼠标指针会自动改变成我们预设的样式 1. 找到 HEXO\themes\hexo-theme-yilia-master\source中的main.0cf68a.css文件 2. 将此段代码复制进去1234567891011121314151617body { margin:0; font-size:10px; font-family:Helvetica Neue, Helvetica, STHeiTi, Arial, sans-serif; line-height:1.5; color:#333; /* background-color:#fff; */ min-height:50%; background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('') no-repeat 0% 0%/ cover; cursor:url('替换'), default; }/* 因为超链接默认情况下是:cursor: pointer; 显示为手,这里进行设置 */a { cursor:url('替换'), default;} 3. url后面换成自己想设置的图片地址 尽量不要使用PNG图片,会导致部分浏览器不显示 指令参考来源:https://yansheng0083.gitee.io/article/72a91df5.htmlHead pic : https://www.pixiv.net/artworks/73500201 赏 谢谢你请我吃糖果 支付宝 微信 置顶 已完结 教程 Hexo yilia 扫一扫,分享到微信