Antwort
Auch wenn vllt nicht mehr ganz aktuell:
Chrome hat im default Stylesheet
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
background-color: rgb(250, 255, 189) !important;
background-image: none !important;color: rgb(0, 0, 0) !important;
}
stehen. lässt sich also nicht verändern.retuschieren lässt sich das aber so zB:
input:-webkit-autofill{
box-shadow: inset 1px 1px 3px 1px darkgrey, inset 300px 0px 0px 0px white;}
input:-webkit-autofill:hover{
box-shadow: inset 1px 1px 3px 1px darkgrey, inset 300px 0px 0px 0px lightgrey;}
input:-webkit-autofill:focus{
box-shadow: inset 1px 1px 3px 1px darkgrey, inset 300px 0px 0px 0px white;}
wenn man einen inset schatten auf weißem hintergrund haben möchte.