TypechoJoeTheme

Dcr163的博客

统计

CSS3中设置动画播放次数

2017-03-23
/
0 评论
/
1,666 阅读
/
正在检测是否收录...
03/23

animation-iteration-count属性主要用来定义动画的播放次数。

语法规则:

animation-iteration-count: infinite | <number> [, infinite | <number>]*

 

1、其值通常为整数,但也可以使用带有小数的数字,其默认值为1,这意味着动画将从开始到结束只播放一次。

2、如果取值为infinite,动画将会无限次的播放。


注意:Chrome或Safari浏览器,需要加入-webkit-前缀!


朗读
赞(0)
版权属于:

Dcr163的博客

本文链接:

http://dcr163.cn/151.html(转载时请注明本文出处及文章链接)

评论 (0)

人生倒计时

今日已经过去小时
这周已经过去天
本月已经过去天
今年已经过去个月

最新回复

  1. blowjob
    2026-07-19
  2. バイナリー 取引ツール
    2026-07-11
  3. http://www.annunciogratis.net/author/oevsandra54
    2026-05-31
  4. web page
    2026-04-10
  5. plenty of insightful
    2026-03-19

标签云