Change Autocomplete Styles in WebKit Browsers | CSS-Tricks - CSS-Tricks

PHOTO EMBED

Tue Feb 08 2022 19:26:22 GMT+0000 (UTC)

Saved by @linabalciunaite #css

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid green;
  -webkit-text-fill-color: green;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}
content_copyCOPY

https://css-tricks.com/snippets/css/change-autocomplete-styles-webkit-browsers/