由于某种原因,我似乎无法让 css 转换工作。我确信这是一个非常简单的错误。但我已经把头撞在墙上一个小时了。我在 Windows 7 64 位上使用 mozilla firefox 4.0.1。
<style>
a:link {
transition: color 1s ease-in-out;
color: #fff;
text-decoration: none;
text-shadow: 1px 1px #000;
}
a:hover {
color: #0072bc;
text-decoration: none;
text-shadow: 1px 1px #000;
}
</style>
<a href="#">test</a>