Skip to content

Instantly share code, notes, and snippets.

@pbojinov
Created November 21, 2014 21:04
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbojinov/1ff855d48bc11a47d6c8 to your computer and use it in GitHub Desktop.
Save pbojinov/1ff855d48bc11a47d6c8 to your computer and use it in GitHub Desktop.
Removing input background color for Chrome autocomplete
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}
input:-webkit-autofill:focus {
-webkit-box-shadow: /*your box-shadow*/,0 0 0 50px white inset;
-webkit-text-fill-color: #333;
}
-webkit-text-fill-color: #838B95 !important;
@ryonwasis311
Copy link

but this has some issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment