transition 过渡

transition: all 1s ease(默认不用写);
1针对什么元素 2几秒 3缓动状态

linear 匀速
ease-in 加速
ease-out 减速
cubic-bezier缓动函数 自定义速度模式

你可能感兴趣的:(transition 过渡)