We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6371aaf commit f1d29cfCopy full SHA for f1d29cf
css-forms-1/Overview.bs
@@ -877,8 +877,15 @@ progress:indeterminate::slider-fill {
877
}
878
879
input[type=checkbox][switch]::slider-fill {
880
- background-color: transparent;
+ background-color: color-mix(in lab, currentColor 25%, transparent);
881
border-radius: inherit;
882
+
883
+ block-size: 100%;
884
+ inline-size: 0%;
885
+}
886
887
+input[type="checkbox"][switch]:checked::slider-fill {
888
+ inline-size: 100%;
889
890
891
input[type="checkbox"][switch]::slider-thumb,
0 commit comments