- From: Luke Warlow via GitHub <noreply@w3.org>
- Date: Fri, 16 Jan 2026 10:05:19 +0000
- To: public-css-archive@w3.org
What about a fill like below?
That's essentially a style of:
```css
input[type="checkbox"][switch]::slider-fill {
background-color: color-mix(in lab, currentColor 25%, transparent);
}
input[type="checkbox"][switch]:checked::slider-fill {
block-size: 100%;
}
```
<img width="497" height="139" alt="Image" src="https://github.com/user-attachments/assets/60bb7a86-1811-4c07-ae5e-360c1b9431a3" />
--
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12267#issuecomment-3759189695 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 January 2026 10:05:20 UTC