css - 我们应该向 animate.css 添加 -moz- 或其他供应商前缀吗?

标签 css animation

在 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/

相关文章:

php - 存储自定义用户 CSS - MySQL 还是作为文件?

javascript - jQuery show() 不显示幻灯片效果

html - CSS 滚动/翻译一个元素,如果它溢出

css - 延迟动画,让它在 Xs 之后往另一个方向走

html - Windows 移动 10 : white text in option tags are invisible

javascript - 隐藏文本中的特定单词而不添加新标签

ios - 动画layer.mask如何变化

javascript - Accordion 中的滑动动画卡顿

ios - 如何循环动画几次或几秒钟?

html - 在 firefox 中不显示