属性
- transition-property 定义对象中参与过度的属性
- transition-delay 延迟
- transition-duration 持续时间
- transition-timing-function 状态变化速度
img{
transition-property: height;
transition-duration: 1s;
transition-delay: 1s;
transition-timing-function: ease;
}
简写
img{
transition: 1s 1s height ease;
}
规则
如果只提供一个