CSS :indeterminate Selector
CSS :indeterminate Selector
The :indeterminate selector is used to selecting form elements that are in an indeterminate state. It is used on input type=checkbox, input type=radio, and progress elements. By default, checkboxes are not in the indeterminate state and we have to set its property to TRUE in javascript. However, all radio buttons are indeterminate when none of them is checked.
Syntax:-
Its syntax is:-
:indeterminate {
css declarations;
}