fix: input/textarea unselectable

This commit is contained in:
email 2022-02-19 18:52:50 +08:00
parent 3874523e61
commit 6ad6ba2327

View File

@ -35,9 +35,7 @@ pre {
} }
label, label,
input,
button, button,
textarea,
img { img {
background-color: transparent; background-color: transparent;
user-select: none; user-select: none;
@ -45,6 +43,13 @@ img {
outline: none; outline: none;
} }
input,
textarea {
background-color: transparent;
-webkit-tap-highlight-color: transparent;
outline: none;
}
input:-webkit-autofill, input:-webkit-autofill,
input:-webkit-autofill:hover, input:-webkit-autofill:hover,
input:-webkit-autofill:focus, input:-webkit-autofill:focus,