此方式最直接有效,全局设置,延长自动填充背景色动画的时间,对原生或封装的UI都很友好,推荐使用。
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-transition-delay: 99999s;
-webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
}