This pseudo-class is called the indeterminate-value pseudo-class which represents the indeterminate state of radio or checkbox elements. This state is set if the checkbox/radio is neither checked nor unchecked, basically a no pre-selected choice. Another indeterminate state would be an unknown progress meter completion.
# Syntax
Copy
:indeterminate {
/* declarations */
}
# Example
Copy
:indeterminate {
opacity: 0.6;
}
The above mentioned example would decrease the opacity
of not pre-selected choice elements down to 0.6
.
# Browser support
Platform
Chrome
Firefox
Safari
Edge
Internet Explorer
Opera
Desktop
Yes (15)
Yes (4)
Yes (5.1)
Yes (12)
Yes (9)
Yes (12.1)
Mobile
Yes (59)
Yes (1)
Yes (7.1)
Yes (12)
Yes (10)
Yes (12.1)
For future browser support information, also check out caniuse.com (Indeterminate-value pseudo-class).
# Usage statistics (Alexa Top 1,250,000 sites)
Due to an extreme price increase of our statistics provider the data collection was stopped in September 2018.
Please wait a moment, the comments start loading now...