fix: input autofill style on chrome

This commit is contained in:
Timothy Lin 2021-09-10 23:23:47 +08:00
parent d7a048866e
commit 24872f2262

View File

@ -9,3 +9,9 @@
html {
scroll-behavior: smooth;
}
/* https://stackoverflow.com/questions/61083813/how-to-avoid-internal-autofill-selected-style-to-be-applied */
input:-webkit-autofill,
input:-webkit-autofill:focus {
transition: background-color 600000s 0s, color 600000s 0s;
}