That transition thing works in Chrome but does not work IE 10. Though it supports CSS3, why doesn't it work?
.box {
-webkit-transition:background-color 0.2s linear;
background-color:#EBEBEB;
}
.box:hover {
background-color:#7bae31;
}
That transition thing works in Chrome but does not work IE 10. Though it supports CSS3, why doesn't it work?
.box {
-webkit-transition:background-color 0.2s linear;
background-color:#EBEBEB;
}
.box:hover {
background-color:#7bae31;
}
IE10 应该支持 CSS3 过渡而不需要供应商前缀。删除 CSS 的 -webkit- 部分,使其仅显示:
transition:background-color 0.2s linear;
您可以看到它在以下位置工作:
为了将来参考,您可以在以下位置检查 IE CSS3 兼容性:http: //msdn.microsoft.com/en-us/library/hh781508 (v=vs.85).aspx