css3新特性(过渡) 用户4057733455149 2021-08-23 60 阅读1分钟 过渡属性:谁做过渡就给谁加 //transition:width .5s ease 0s,height .5s ease 1s; //如果想要写多个属性,利用逗号进行分割 //transition:width .5s,height .5s; //如果想要多个属性都变化,属性写all就可以了 transition: all 0.5s;