Home > Enterprise >  Input css save browser
Input css save browser

Time:11-08

I have a doubt I have a text and password input on the login page, but when I save the password in the browser it has a different color, which property do I set to none

It was for the input text and password to be gray

CodePudding user response:

That would be the browser autofill color. You can change it explicitly:

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    background-color: white !important;
}
  • Related