2022-05-30 577
CSS animation-iteration-count 属性 设置播放动画次数
实例
播放动画三次:
div { animation-iteration-count:3; -webkit-animation-iteration-count:3; /* Safari 和 Chrome */ }
定义和用法
animation-iteration-count 属性定义动画的播放次数。
默认值: | 1 |
继承性: | no |
版本: | CSS3 |
JavaScript 语法: | object.style.animationIterationCount=3 |
语法
animation-iteration-count: n|infinite;
值 | 描述 |
n | 定义动画播放次数的数值。 |
infinite | 规定动画应该无限次播放。 |
animation-iteration-count 属性。播放3次后停止,刷新页面从新开始
原文链接:https://77isp.com/post/1026.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态