Answers for "how to remove autofill background color in input fields in css"

CSS
1

Removing input background colour for Chrome autocomplete?

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

// https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete
Posted by: Guest on January-01-2021
0

remove background when autofill input css

@-webkit-keyframes autofill {
    0%,100% {
        color: #666;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}
Posted by: Guest on April-20-2020

Code answers related to "how to remove autofill background color in input fields in css"

Browse Popular Code Answers by Language