xxxxxxxxxx
1
<div class="position-relative" style="left:3rem; top:3rem;">
2
<input type="checkbox" class="form-check-input" id="broken">
3
</div>
4
xxxxxxxxxx
1
.form-check-input[type=checkbox]:indeterminate {
2
background-color: #1266f1;
3
border-color: #1266f1;
4
}
5
6
.form-check-input[type=checkbox]:indeterminate:after {
7
content: "";
8
}
xxxxxxxxxx
1
const broken = document.getElementById( "broken" );
2
3
broken.indeterminate = true;
4
Console errors: 0