Skip to content

Commit

Permalink
fix: use single, forgiving selector list with is()
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth committed Jul 18, 2024
1 parent 8f2c4bb commit 7a90f9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions live-examples/css-examples/pseudo-class/autofill.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ label {
margin-top: 1em;
}

input:-webkit-autofill {
border: 3px solid darkorange;
}

input:autofill {
input:is(:-webkit-autofill, :autofill) {
border: 3px solid darkorange;
}

0 comments on commit 7a90f9b

Please sign in to comment.