当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <!DOCTYPE html>
< html >
< head >
< style >
div
{
width:100px;
height:100px;
background:red;
position:relative;
animation:mymove 3s;
animation-iteration-count:3;
/* Safari and Chrome */
-webkit-animation:mymove 3s;
-webkit-animation-iteration-count:3;
}
@keyframes mymove
{
from {top:0px;}
to {top:200px;}
}
@-webkit-keyframes mymove /* Safari and Chrome */
{
from {top:0px;}
to {top:200px;}
}
</ style >
</ head >
< body >
< div ></ div >
</ body >
</ html >
|
效果图:

以上就是本篇文章的全部内容,希望能对大家的学习有所帮助。更多精彩内容大家可以关注php中文网相关教程栏目!!!
以上就是animation-iteration-count属性怎么用的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css3新增伪类有哪些
谷歌浏览器不支持css3吗
css3中background-size实现背景图片大小可自定义的几种效果(代码实例 )
css中resize属性有什么用
你值得了解的一种css获取图片主题色的小技巧(分享)
css3兼容ie8吗
animation-delay属性怎么用
一招搞定css不规则边框
css3怎么设置元素背面不可见
text-outline属性怎么用
更多相关阅读请进入《animation-iteration-count属性》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » animation-iteration-count属性怎么用