- From: Said Abou-Hallawa via GitHub <noreply@w3.org>
- Date: Tue, 06 Jan 2026 23:49:08 +0000
- To: public-css-archive@w3.org
This styling can make the checkbox and the radio loo dimmed if they are disabled:
```
input:is([type=checkbox]:not([switch]), [type=radio]):disabled {
background-color: color-mix(in srgb, currentColor 10%, transparent);
filter: opacity(0.5);
}
input:is([type=checkbox]:not([switch]), [type=radio]):checked:disabled::checkmark {
filter: opacity(0.5);
}
```
--
GitHub Notification of comment by shallawa
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12225#issuecomment-3716759681 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 January 2026 23:49:09 UTC