过渡 与hover搭配使用transition:需要过渡的属性 过渡所需的时间 运动曲线 何时开始(运动曲线 何时开始 可省略)需要过渡多个属性时候,用 逗号 连接 其他需要过渡的属性和特效;或者用all代替 transition: width 0.5s,height 0.5s; transition: all 0.5s; 谁做过渡,就给谁加