Created
January 5, 2016 10:44
-
-
Save vinaynb/bad0b45d96d5f122dc17 to your computer and use it in GitHub Desktop.
CSS Snippet to override chrome autocomplete styling of input text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* used to override pale yellow color that chrome uses when user chooses an item from | |
its autocomplete list */ | |
input:-webkit-autofill, | |
input:-webkit-autofill:hover, | |
input:-webkit-autofill:focus, | |
input:-webkit-autofill:active { | |
transition: background-color 5000s ease-in-out 0s; | |
} | |
input:-webkit-autofill { | |
-webkit-text-fill-color: #fff; | |
} | |
input:-webkit-autofill:focus { | |
-webkit-text-fill-color: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you very much