1.animation 属性是一个简写属性,用于设置六个动画属性:
animation-name
animation-duration
animation-timing-function
animation-delay
animation-iteration-count
animation-direction
animation: name duration timing-function delay iteration-count direction;
2.个属性详解
- animation-name 属性为 @keyframes 动画规定名称。
注:http://www.w3school.com.cn/cssref/pr_keyframes.asp
@keyframes 学习网站 - animation-duration规定动画的持续时间
- animation-timing-function:规定速度曲线
- animation-delay:规定动画等待的时间
- animation-iteration-count:规定动画轮播的次数
- animation-direction