diff --git a/src/input.css b/src/input.css index 0598ddb80d443e4..cec9d0411aee284 100644 --- a/src/input.css +++ b/src/input.css @@ -5,7 +5,7 @@ select { border-width: 2px; } -input:read-only { +input[readonly] { background-color: var(--sl-color-backdrop-overlay); cursor: not-allowed; }