无论我设置什么,-webkit-transition-timing-function
我总是得到默认ease
行为。我已经尝试了所有选项并需要linear
,但 Chrome 忽略了该设置。FF 和 Safari 确实按预期工作......
http://www.w3schools.com/cssref/css3_pr_transition-timing-function.asp
.boxOverGlow
{
width: 100%;
left: 0px;
top: 0px;
position: absolute;
display: block;
z-index: 28;
opacity: 0;
filter: alpha(opacity=0);
transition-timing-function: linear;
-moz-transition-timing-function: linear; /* Firefox 4 */
-o-transition-timing-function: linear; /* Opera */
transition:opacity 1s;
-moz-transition:opacity 1s; /* Firefox 4 */
-webkit-transition:opacity 1s; /* Safari and Chrome */
-o-transition:opacity 1s; /* Opera */
-webkit-transform-style: preserve-3d;
-webkit-transition-timing-function: linear; /* Safari and Chrome */
}