网上找的设置 background-color,background-image 没用,后来找到这个方法测试有效:input:-webkit-autofill { transition: background-color 5000s ease-in-out 0s;}