1*:-webkit-autofill,
2*:-webkit-autofill:hover,
3*:-webkit-autofill:focus,
4*:-webkit-autofill:active {
5 /* use animation hack, if you have hard styled input */
6 transition: all 5000s ease-in-out 0s;
7 transition-property: background-color, color;
8 /* if input has one color, and didn't have bg-image use shadow */
9 -webkit-box-shadow: 0 0 0 1000px green inset;
10 /* text color */
11 -webkit-text-fill-color: red;
12 /* font weigth */
13 font-weight: 300!important;
14}
1*:-webkit-autofill,
2*:-webkit-autofill:hover,
3*:-webkit-autofill:focus,
4*:-webkit-autofill:active {
5 /* use animation hack, if you have hard styled input */
6 transition: all 5000s ease-in-out 0s;
7 transition-property: background-color, color;
8 /* if input has one color, and didn't have bg-image use shadow */
9 -webkit-box-shadow: 0 0 0 1000px #fff inset;
10 /* text color */
11 -webkit-text-fill-color: #fff;
12 /* font weigth */
13 font-weight: 300!important;
14}