【问题标题】:custom cursor blinks on hover - css , html自定义光标在悬停时闪烁 - css , html
【发布时间】:2014-12-17 13:56:03
【问题描述】:

我正在开发这个网站 www.goldensprocketzmedia.com/BlackTheme

我正在使用自定义光标。 chrome n firefox 的 .png 文件 用于 IE 的 .cur 文件

光标在 chrome 和 firefox 上运行良好 但是在 IE 上,当我将光标悬停在链接上时,它的行为是有线的。它有点闪烁n然后恢复正常。也滞后。

css代码如下

a, a:hover{cursor: url(../../../../cursors/camera.png), /* Modern - relative to the document */
            url(cursors/camera.cur), /* IE - relative to the root */
            default; /* Built-in fallback */} /*new line added*/

    body{width:100%;padding-top:3em;background-color:transparent;color:#abaaaa;font-family:"Open Sans",Helvetica,Arial,sans-serif;font-weight:400;
    cursor: url(../../../../cursors/camera.png), /* Modern - relative to the document */
            url(cursors/camera.cur), /* IE - relative to the root */
            default; /* Built-in fallback */    
}

谁能帮我解决这个问题。

谢谢

【问题讨论】:

  • 链接需要修复。
  • 感谢@im1dermike。我已经修好了。
  • @Gemtastic : 贴出我使用的css代码。

标签: html css cursor


【解决方案1】:

尝试将default 更改为auto

【讨论】:

  • 尝试更改为自动。还不行。问题只在 IE 上
  • 我明白了。我添加的时候似乎表现得更好,但是我没有耐心在 IE 中调试超过几分钟。
猜你喜欢
  • 2022-01-23
  • 2011-09-01
  • 2020-04-21
  • 2014-10-21
  • 2020-08-28
  • 2013-07-08
  • 1970-01-01
  • 2012-02-29
相关资源
最近更新 更多