在 animate.css 中 http://daneden.github.io/animate.css它不使用其他供应商前缀,除了 -webkit- 我们应该添加自己吗? 为什么它不使用其他前缀?
.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.animated.infinite {
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
最佳答案
.animated {
-webkit-animation-duration: 1s;
-moz-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
-moz-animation-fill-mode: both;
animation-fill-mode: both;
}
.animated.infinite {
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
关于css - 我们应该向 animate.css 添加 -moz- 或其他供应商前缀吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32045856/