1@-webkit-keyframes autofill {
2 0%,100% {
3 color: #666;
4 background: transparent;
5 }
6}
7
8input:-webkit-autofill {
9 -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
10 -webkit-animation-name: autofill;
11 -webkit-animation-fill-mode: both;
12}
13