Skip to content

Instantly share code, notes, and snippets.

@vladislav-aleev
Forked from exdeniz/autofill-reset.css
Created May 24, 2020 07:18
Show Gist options
  • Save vladislav-aleev/49f2decc039c8c34f99f3aca8da7c17e to your computer and use it in GitHub Desktop.
Save vladislav-aleev/49f2decc039c8c34f99f3aca8da7c17e to your computer and use it in GitHub Desktop.
Full reset autofill
input:-webkit-autofill,
input:-webkit-autofill::first-line,
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 {
/* Font setting from input */
color: rgb(51, 51, 51) !important;
font-weight: 600;
font-size: 20px !important;
font-family: 'Open Sans', sans-serif !important;
-webkit-box-shadow: 0 0 0px 1000px transparent inset;
transition: background-color 5000s ease-in-out 0s;
-webkit-text-fill-color: rgb(51, 51, 51);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment