animation-iteration-count属性怎么用


本文摘自PHP中文网,作者青灯夜游,侵删。

animation-iteration-count属性是用于定义动画播放次数的,设置animation-iteration-count属性的值为infinite,就可实现动画的无限循环播放。

CSS3 animation-iteration-count属性

作用:animation-iteration-count 属性定义动画的播放次数。

语法:

1

animation-iteration-count: n|infinite;

n:定义动画播放次数的数值。

infinite:规定动画应该无限次播放。

注:Internet Explorer 9 以及更早的版本不支持 animation-iteration-count 属性。

CSS3 animation-iteration-count属性的使用示例

设置动画循环3次

阅读剩余部分

相关阅读 >>

css3中background-orgin实现带相框照片显示效果-案例解析(代码实例 )

css3怎么实现强制不换行

css3中text-shadow实现文字阴影效果(代码实例 )

带你了解css中的3d效果

css3 简介

css3动画不循环怎么办

css3有哪些新特性?css3新特性详解

wxss和css3的区别是什么

background-origin属性怎么用

text-outline属性怎么用

更多相关阅读请进入《animation-iteration-count属性》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...