Nasi wolontariusze nie przetłumaczyli jeszcze tego artykułu na język Polski. Dołącz do nas i pomóż go przetłumaczyć!
Można także przeczytać artykuł w języku: English (US).


The :indeterminate CSS pseudo-class represents:

  • any <input type="checkbox"> element whose indeterminate DOM property is set to true by JavaScript
  • <input type="radio"> elements whose radio button group's radio buttons are all unchecked
  • <progress> elements in an indeterminate state



input, span {
  background: red;

:indeterminate, :indeterminate + span {
  background: limegreen;


<input type="checkbox"> <span>Everything in this paragraph should have a green background.</span>


document.getElementsByTagName("input")[0].indeterminate = true;


Specification Status Comment
HTML Living Standard
The definition of ':indeterminate' in that specification.
Living Standard No change
The definition of ':indeterminate' in that specification.
Recommendation Defines the semantic regarding HTML and constraint validation.
Selectors Level 4
The definition of ':indeterminate' in that specification.
Working Draft No change
CSS Basic User Interface Module Level 3
The definition of ':indeterminate' in that specification.
Proposed Recommendation Defines the pseudo-class, but not the associated semantic.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
type="checkbox" (Yes) 3.6 (1.9.2) 9.0 10.60 (2.6) 3.0
<progress> 6.0 6.0 (6.0) 10 ? 5.2
type="radio" 39 No support [1] No support ? No support [2]
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
type="checkbox" ? 1.0 (1.9.2) ? ? ?
<progress> ? 6.0 (6.0) ? ? ?
type="radio" Chrome 39 No support [1] No support ? No support [2]

[1]: bug 885359 – Radio groups without a selected radio button should have :indeterminate applying

[2]: WebKit bug #156270