Reputation: 625
So, basically. I have a search type input field. This is a searchbox, when you double click the input box you can see all your previous searched keywords and when you select or hover over a keyword the background changes color from white to yellow. Like shown in the screenshot below.
I would like to disable this highlight color.
Upvotes: 1
Views: 1396
Reputation: 1104
I think you could use this few lines in your CSS :
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}
And to change the text color :
-webkit-text-fill-color: yellow !important;
Upvotes: 4
Reputation: 763
I think this is google auto-complete, check out the top answer in this post Removing input background colour for Chrome autocomplete?
Upvotes: 0