【发布时间】:2013-07-09 19:49:00
【问题描述】:
这是我的代码:
.post .entry a:hover{
opacity: 0.5;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
-ms-transition: opacity .25s ease-in-out;
}
我不确定为什么这不适用于 Chrome/IE/Safari。它在 Firefox 上运行良好。
【问题讨论】:
-
请发一个完整的代码示例。
-
没有更好的例子,我做了一个快速的小提琴。对我来说,它在 Chrome 和 Firefox 中运行良好。 jsfiddle.net/hgeVd
-
您在使用哪个 IE 版本时遇到问题?按 F12。转到控制台选项卡。修复它指出的所有错误。
-
规则1:将无前缀版本放在前缀样式之后。
标签: css internet-explorer google-chrome safari cross-browser