0

I have an input box customized to have an orange text.

input box orange value

When I have autocomplete options, I managed to make the input text orange, but only for the final value from the input box.

input:-webkit-autofill:active[type=input] {
    -webkit-text-fill-color: orange !important;
}

What I want is to have an orange option also in the selector, before clicking on it in order to populate the input box. Now it's still black.

option for input box

How can I change the color for that suggested "1" to be also orange?

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
  • 1
    Does this answer your question? [Removing input background colour for Chrome autocomplete?](https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete) – Jax-p Jul 28 '20 at 13:43
  • @Jax-p , no. That changes the CSS for the input box itself, not for the option that I will select to populate my input box. – ROMANIA_engineer Jul 28 '20 at 14:16

0 Answers0