Answers for "how to get rid of background color of input field in css"

1

Removing default background color of html input

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
Posted by: Guest on October-21-2021
1

how to get rid of background white of input by browser

/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
Posted by: Guest on May-16-2020

Code answers related to "how to get rid of background color of input field in css"

Browse Popular Code Answers by Language