html - 如何在最后一个@keyframe CSS3 中延迟时间?

标签 html css css-animations

路径上有动画。这是我的 CSS 代码:

#target {
  -webkit-animation: myPathX 1.5s infinite ;
  -moz-animation: myPathX 1.5s infinite ;
  -ms-animation: myPathX 1.5s infinite ;
  -o-animation: myPathX 1.5s infinite ;
  animation: myPathX 1.5s infinite ;
  -moz-animation-fill-mode: backwards;
  -moz-animation-delay:10s;


}

#target > * {
  -webkit-animation: myPathY 1.5s infinite ;
  -moz-animation: myPathY 1.5s infinite ;
  -ms-animation: myPathY 1.5s infinite ;
  -o-animation: myPathY 1.5s infinite ;
  animation: myPathY 1.5s infinite ;
  -moz-animation-fill-mode: backwards;

-moz-animation-delay:10s; 我想延迟最后一个@keyframe 吗?我该怎么做? 请帮忙。

最佳答案

你可以试试:animation-delay: 2s;

关于html - 如何在最后一个@keyframe CSS3 中延迟时间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15604303/

相关文章:

css - 我怎样才能添加两个过渡变换,但一个接一个?

css - 转换一个div而不转换里面的图标

html - 嵌套列表下拉菜单 HTML 和 CSS

javascript - 使用Javascript获取点击元素的属性?

php - 如何设置 PHP 回显文本的样式?

html - 删除textarea中的文本会使元素消失

html - 如何使用媒体查询更改 Bootstrap Grid?

CSS 动画 - 微调器/加载器速度

java - jsp 下拉项上的填写字段已更改

html - 类被其他类覆盖