:indeterminateBaseline · Widely available
The :indeterminate CSS pseudo-class selects any form element whose state is indeterminate, such as checkboxes that have been set to an indeterminate state with JavaScript, or radio buttons which are members of a group in which all radio buttons are unchecked.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.
Browser support
DesktopChrome
1–38Not supported
39+Supportedsince Nov 18, 2014
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–50Not supported
51+Supportedsince Jan 24, 2017
Current: 157Safari
1–9.1Not supported
10+Supportedsince Sep 20, 2016
Current: 27MobileChrome Android
18–38Not supported
39+Supportedsince Nov 12, 2014
Current: 155Firefox Android
4–50Not supported
51+Supportedsince Jan 24, 2017
Current: 157Safari iOS
1–9.3Not supported
10+Supportedsince Sep 13, 2016
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: :indeterminate.
Feature detection
CSS · check before using
@supports selector(:indeterminate) {
/* styles that use :indeterminate */
}
/* or in JavaScript */
if (CSS.supports("selector(:indeterminate)")) {
// use it
}Documentation (MDN)
Usage share
Sub-features
Support for each part of the feature (4). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| indeterminate | 1 | 12 | 2 | 3 | 18 | 4 | 1 |
| indeterminate.checkbox | 1 | 12 | 3.6 | 3 | 18 | 4 | 1 |
| indeterminate.progress | 6 | 12 | 6 | 5.1 | 18 | 6 | 5 |
| indeterminate.radio | 39 | 79 | 51 | 10 | 39 | 51 | 10 |