transition
transition需要触发一个事件才能改变属性,
transition为2帧,从from .... to。
transition 规定动画的名字 规定完成过渡效果需要多少秒或毫秒 规定速度效果 定义过渡效果何时开始