sword

Typecho自定义鼠标样式
设置方法以handsome主题为例:外观——主题设置——开发设置——自定义css。插入以下代码body { ...
扫描右侧二维码阅读全文
18
2018/02

Typecho自定义鼠标样式

设置方法

以handsome主题为例:外观——主题设置——开发设置——自定义css。插入以下代码

body {
    cursor:url('鼠标指针图片链接'), auto;
}
select, input, textarea, a, button {
    cursor:url('鼠标指针图片链接'), auto;
}
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly] {
    cursor:url('鼠标指针图片链接'), auto;
}

其他主题方法大致相同 把这代码输出在</head>之前就ok

鼠标样式下载:戳我戳我

Last modification:February 18th, 2020 at 07:32 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment

9 comments

  1. 无双   ( Windows 10 x64 Edition Windows 10 x64 Edition / Google Chrome 78.0.3904.108 Google Chrome 78.0.3904.108 )

    那个鼠标样式下载链接进不去,怎么办,还有这个鼠标样式是用什么格式的图片?

    1. sword   ( Windows Server 2003 Windows Server 2003 / Google Chrome 55.0.2883.96 Google Chrome 55.0.2883.96 )
      @无双

      下载链接已修复,下载后就知道啥格式啦

      1. 无双   ( Windows 10 x64 Edition Windows 10 x64 Edition / Google Chrome 78.0.3904.108 Google Chrome 78.0.3904.108 )
        @sword

        哦~,输入错了,现在好了

      2. 无双   ( Windows 10 x64 Edition Windows 10 x64 Edition / Google Chrome 78.0.3904.108 Google Chrome 78.0.3904.108 )
        @sword

        欸,为什么鼠标样式没变。

  2. Encounter   ( Windows 7 x64 Edition Windows 7 x64 Edition / Google Chrome 63.0.3239.132 Google Chrome 63.0.3239.132 )

    这个的鼠标指针效果不太喜欢,用a:hover我更喜欢。如果博主不清楚怎么实现可以去我的博客看看,里面有方法实现。

    1. 呵呵哒萌萌哒   ( Windows 7 x64 Edition Windows 7 x64 Edition / Google Chrome 69.0.3497.100 Google Chrome 69.0.3497.100 )
      @Encounter

      你说的这个我的样式下载里面就有啊,只是我不喜欢,所以就没以这个举例子而已

  3. rachpt   ( Ubuntu x64 Ubuntu x64 / Firefox 58.0 Firefox 58.0 )

    看到这个硕大的鼠标,我想到了以前 HDCity

    1. 呵呵哒   ( Windows 7 x64 Edition Windows 7 x64 Edition / Firefox 58.0 Firefox 58.0 )
      @rachpt

      就是从上面扒下来的!

  4. 免费新大陆   ( Windows 7 x64 Edition Windows 7 x64 Edition / Google Chrome 55.0.2883.87 Google Chrome 55.0.2883.87 )

    不错不错,转载啦转载啦