如果您在Chrome的最新稳定版中访问http://www.framingham.edu/,您会注意到“Spring Commencement”链接的CSS3过渡不起作用。它也不适用于“更多事件”文本(但它适用于背后的蓝色背景)。如果您在Safari,Firefox或Opera中尝试相同的功能,则可以正常工作。我不明白为什么会发生这种情况。它可能是我的CSS3导致它专门为Chrome打破?奇怪的CSS3过渡...错误?
CSS:
#events span a {
color: #B00932;
text-decoration: none;
-webkit-transition: color 0.6s ease-in;
-moz-transition: color 0.6s ease-in;
-o-transition: color 0.6s ease-in;
-ms-transition: color 0.6s ease-in;
transition: color 0.6s ease-in;
}
#events span a:hover {
color: #ecb220;
text-decoration: none;
}
.moreEvents {
text-align: center;
font-weight: bold;
padding: 10px 0;
background-color: #00345c;
-webkit-transition: background-color 0.6s ease-in, color 0.6s ease-in;
-moz-transition: background-color 0.6s ease-in, color 0.6s ease-in;
-o-transition: background-color 0.6s ease-in, color 0.6s ease-in;
-ms-transition: background-color 0.6s ease-in, color 0.6s ease-in;
transition: background-color 0.6s ease-in, color 0.6s ease-in;
}
.moreEvents:hover {
background-color: #eeb220;
}
.moreEvents a {
color: #fff;
-webkit-transition: color 0.6s ease-in;
-moz-transition: color 0.6s ease-in;
-o-transition: color 0.6s ease-in;
-ms-transition: color 0.6s ease-in;
transition: color 0.6s ease-in;
}
.moreEvents a:hover {
color: #000;
}
编辑: 由于zim2411说,在这两个Chrome和Firefox为他工作,我决定今天再次尝试它和它的工作!我能想到的,我昨天和今天之间做的唯一一件事就是清楚了我所有浏览器的缓存等等。我猜这与访问过的链接有关,因为当我点击“Spring Commencement”链接并返回到该页面时,转换不再起作用。其他人能否在访问链接后确认转换无效?它仍然只发生在Chrome ...
我没有最新的稳定版本的Chrome,但放心,它在夜间工作:) – Ryan 2012-03-21 15:55:25
Chrome 7.0.963.79米在Windows 7和Firefox 11.0有我的匹配效果。 – zim2411 2012-03-21 16:02:38
我做了一个编辑。我怀疑它与Chrome浏览器的访问链接有关... – Aaron 2012-03-21 16:46:43