transition使用

transition

  1. transition:变化属性 花费时间 运动曲线 何时开始
  2. transition: width 0.5s(简写.5s) ease 0s , height .5s ease 1s;
  3. 如果想要写多个属性,利用逗号进行分隔;
  4. 如果想要多个属性都变化,属性写all就可以 了
  5. transitionL:all 0.5s;
  6. 注意:是谁做过度就给谁加

猜你喜欢

转载自blog.csdn.net/liuxiaobao666/article/details/118311929