【发布时间】: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 看起来像上面的例子。 “褪色效果”适用于所有链接但访问。对于访问过的链接,它只是像以前一样将颜色变为白色,过渡完全不起作用。如何解决这个问题?
【问题讨论】:
-
我不了解你,但它适用于 Chrome tinkerbin.com/P9H32eYa
-
@fabianhjr 请加入聊天室chat.stackoverflow.com/rooms/5829/css3
标签: html css fade css-transitions