可以写好多属性transition: all(动画效果名称) 1s(实现动画时间) linner(速度,当前是匀速,还有easa等属性) 1s(延时执行时间),看不懂继续追问,望采纳。。
它可能是对所有的属性(不止color)都有效