Skip to content

Commit adea6fd

Browse files
committed
fixes #1
1 parent f331143 commit adea6fd

4 files changed

Lines changed: 37 additions & 1 deletion

File tree

demo/index.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ input::-webkit-search-decoration,
4444
input::-webkit-search-cancel-button {
4545
display: none;
4646
}
47+
input:-webkit-autofill,
48+
input:-webkit-autofill:hover,
49+
input:-webkit-autofill:focus,
50+
textarea:-webkit-autofill,
51+
textarea:-webkit-autofill:hover,
52+
textarea:-webkit-autofill:focus,
53+
select:-webkit-autofill,
54+
select:-webkit-autofill:hover,
55+
select:-webkit-autofill:focus {
56+
-webkit-box-shadow: 0 0 0px 1000px #fff inset;
57+
}
4758
article,
4859
aside,
4960
details,

index.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ input::-webkit-search-decoration,
4444
input::-webkit-search-cancel-button {
4545
display: none;
4646
}
47+
input:-webkit-autofill,
48+
input:-webkit-autofill:hover,
49+
input:-webkit-autofill:focus,
50+
textarea:-webkit-autofill,
51+
textarea:-webkit-autofill:hover,
52+
textarea:-webkit-autofill:focus,
53+
select:-webkit-autofill,
54+
select:-webkit-autofill:hover,
55+
select:-webkit-autofill:focus {
56+
-webkit-box-shadow: 0 0 0px 1000px #fff inset;
57+
}
4758
article,
4859
aside,
4960
details,

index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.styl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,20 @@ input::-webkit-search-decoration,
4949
input::-webkit-search-cancel-button
5050
display none
5151

52+
input:-webkit-autofill,
53+
input:-webkit-autofill:hover,
54+
input:-webkit-autofill:focus
55+
input:-webkit-autofill,
56+
textarea:-webkit-autofill,
57+
textarea:-webkit-autofill:hover
58+
textarea:-webkit-autofill:focus,
59+
select:-webkit-autofill,
60+
select:-webkit-autofill:hover,
61+
select:-webkit-autofill:focus
62+
-webkit-box-shadow 0 0 0px 1000px white inset
63+
// -webkit-text-fill-color none
64+
// transition background-color 5000s ease-in-out 0s
65+
5266
article,
5367
aside,
5468
details,

0 commit comments

Comments
 (0)