我的CSS光标似乎没有显示在我的页面上

时间:2015-10-14 10:40:06

标签: html css pointers cursor

我试图将光标添加到我的网页。我希望它只出现在我的.css表中。

我一直试图添加这个:http://pastie.org/7471470将它粘贴在我的CSS页面底部,但似乎没有效果!

<style type="text/css">body, a, a:hover { cursor:url(http://i45.tinypic.com/zkl2l5.png), progress !important;}</style>
<a href="http://jadore-moderncursors.tumblr.com"></a>

代码可能不适用于css吗?

1 个答案:

答案 0 :(得分:0)

如果a中没有任何文字,您如何悬停a元素:

<a href="http://jadore-moderncursors.tumblr.com"></a>
                                                 ^//need to add something

Working DEMO此处我在悬停时添加了文字,然后您可以看到自定义光标图像。

相关问题