【发布时间】:2013-12-09 01:06:36
【问题描述】:
据我所知,我在我的 css 中所做的一切都是正确的,以便让以下转换 click 在 Firefox 中工作。然而,这种过渡反弹似乎不适用于 Firefox 浏览器。虽然 Firefox 支持关键帧。下面是我的代码的 sn-p...
.animate {
-webkit-animation-fill-mode: both;
-moz-animation-fill-mode: both;
-o-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-duration: 1s;
-moz-animation-duration: 1s;
-o-animation-duration: 1s;
animation-duration: 1s;
}
.animate.hinge {
-webkit-animation-duration: 1s;
-moz-animation-duration: 1s;
-o-animation-duration: 1s;
animation-duration: 1s;
}
@-moz-keyframes bounceIn {
/* line 83, ../sass/style.scss */
0% {
opacity: 0;
-webkit-transform: scale(0.3);
}
/* line 86, ../sass/style.scss */
50% {
opacity: 1;
-webkit-transform: scale(1.05);
}
/* line 91, ../sass/style.scss */
70% {
-webkit-transform: scale(0.9);
}
/* line 95, ../sass/style.scss */
100% {
-webkit-transform: scale(1);
}
}
@keyframes bounceIn {
/* line 119, ../sass/style.scss */
0% {
opacity: 0;
transform: scale(0.3);
}
/* line 124, ../sass/style.scss */
50% {
opacity: 1;
transform: scale(1.05);
}
/* line 129, ../sass/style.scss */
70% {
transform: scale(0.9);
}
/* line 133, ../sass/style.scss */
100% {
transform: scale(1);
}
}
/* line 139, ../sass/style.scss */
.block {
-webkit-animation-name: bounceIn;
-moz-animation-name: bounceIn;
-o-animation-name: bounceIn;
animation-name: bounceIn;
}
我是缺少某个前缀还是我使用了 ff 不支持的 animate 属性
【问题讨论】:
标签: css firefox css-animations keyframe