谷歌去掉input黄色背景,并设置透明背景 //去掉黄色背景色 input:-webkit-autofill { transition:background-color 5000s ease-in-out 0s; } //为input设置透明色 input{ }