① 设置参与过渡的属性
transition-property: ; all / transform / 参与过渡的属性
② 设置过渡的时长
transition-duration: s;
③ 事件曲线函数
transiton-timing-function: ;
ease——默认值, linear——匀速 ease-in ease-out ease-in-out
④ 过渡的延迟
transition-delay: s/ms;
语法:transition: property duration timing-function delay;
简写: transtion:duration;