Reputation: 501
I have custom text input CSS on my site, which causes the boxes to be all white when selected and grey when not in focus, as you can see here:
In the second picture, Google Chrome automatically fills in my username and password as I have it saved, and it highlights the inside of the box (not the border) a pale yellow. Is there some sort of CSS selector to override this event, or some better way to do it? Is there a way I can make my border highlight as well?
Upvotes: 1
Views: 817
Reputation:
Try using background-color: white !important;
which should override Chrome's autofill, unless Chrome is programmed to override everything, in which you can't do anything about it.
Upvotes: 2