【问题标题】:CSS3 link color fade on hover for visited links doesn't workCSS3链接颜色在悬停时褪色访问的链接不起作用
【发布时间】:2012-01-19 16:59:00
【问题描述】:
.video-title a, a:link, a:visited {color: #eaeaea;
               text-decoration: none;
               font-weight: bold;
               font-size: 1.1em;
               -webkit-transition: all 0.3s ease-in;  /* Saf3.2+, Chrome */
               -moz-transition: all 0.3s ease-in;  /* FF4+ */
               -ms-transition: all 0.3s ease-in;  /* IE10? */
               -o-transition: all 0.3s ease-in;  /* Opera 10.5+ */
               transition: all 0.3s ease-in;

}
.video-title a:hover{color:#fff;
}

CSS 看起来像上面的例子。 “褪色效果”适用于所有链接但访问。对于访问过的链接,它只是像以前一样将颜色变为白色,过渡完全不起作用。如何解决这个问题?

【问题讨论】:

标签: html css fade css-transitions


【解决方案1】:

所以,它确实有效,但是您的网站有一个细微的变化。

它确实工作得很好。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-04-10
    • 1970-01-01
    • 1970-01-01
    • 2017-03-06
    • 1970-01-01
    • 2013-03-05
    • 2013-08-03
    • 2015-08-05
    相关资源
    最近更新 更多