Skip to content

Instantly share code, notes, and snippets.

View danitor1's full-sized avatar
🏠
Working from home

danitorrescode danitor1

🏠
Working from home
View GitHub Profile
@coltenkrauter
coltenkrauter / html-input-remove-chrome-autofill-background.css
Last active June 15, 2024 01:34
Remove Chrome's autofill background color on HTML inputs. This unique solution makes the background color to transparent rather then a solid color.
// Remove chrome autofill color from inputs
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: background-color 5000000s ease-in-out 0s;
}
# Credit: https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete#answer-29350537