transition: 0.2s all ease;

/* 全部样式 0.2秒 缓动*/
transition: 0.2s all ease;
原文地址:https://www.cnblogs.com/spynode/p/9911700.html