:indeterminate - CSS Selector
Summary of characteristics of the :indeterminate selector
:indeterminate pseudo-class - Description.
The pseudo-class :indeterminate refers to form elements that are in one of the following states:
- The radio buttons where none are checked in the group.
- Progress bars (progress tags) whose
valueattribute is missing. - The checkboxes that have the
indeterminatevalue.
Note that HTML alone cannot set the indeterminate value for checkboxes. You'll need a bit of Javascript code for that:
document.getElementById("...").indeterminate=true;
:indeterminate pseudo-class - Examples of use.
The items below are in an indeterminate state: CSS surrounds them in red. If you select one of the radio buttons or check one of the checkboxes, you'll need to refresh the page to return them to an indeterminate state.
Permis :
:indeterminate pseudo-class - Browser compatibility
The selector :indeterminate is well recognized by the main browsers.
:indeterminate pseudo-class, which targets radio buttons, checkboxes, or progress bars when they are in an indeterminate state.:indeterminate pseudo-class to target radio buttons in an indeterminate state.:indeterminate pseudo-class to target checkboxes in an indeterminate state.:indeterminate pseudo-class to target progress bars in an indeterminate state.Notes:
(1) On Internet Explorer, :indeterminate doesn't target radio buttons.
(2) On Opera mini, the pseudo-class :indeterminate does not target progress bars, no matter their state.
:indeterminatepseudo-class
:indeterminatepseudo-class
on radio buttons
:indeterminatepseudo-class
on checkboxes
:indeterminatepseudo-class
on progress bars
Browsers on computers :
Mobile browsers :
Outdated or marginal browsers :

Internet Explorer

UC Browser pour Androïd

Opéra Mobile

QQ Browser

Baidu Browser

Samsung Internet

Firefox

Opéra

Safari

Safari sur IOS

Edge

Chrome

Androïd Brower

Chrome pour Androïd

Firefox pour Androïd

KaiOS Browser

Opéra mini
:indeterminate pseudo-class - Historic.
-
Selectors Level 3
This document describes the selectors that already exist in CSS1 and CSS2, and further introduces new selectors for CSS3 and other languages that may need them.
Regarding:indeterminateIntroduction of the selector by pseudo-class:indeterminatein level 3 of the specification.August 03, 1999Working Draft.November 13, 2001Candidate Recommendation.December 15, 2009Proposed for recommendation.September 29, 2011Recommendation . -
Selectors Level 4
This specification module defines new selectors that can be used in CSS.
Regarding:indeterminatePas de modification de la pseudo-classe:indeterminatedans ce niveau de la spécification.September 29, 2011Working Draft.
See also...
Many pseudo-classes relate to the state of input areas at a given moment (checked, disabled, active, etc.). Here is the list of these pseudo-classes with links to the corresponding pages.




select menu), and that is in the closed state.

disabled attribute).

select), and that are in the open state.









