CSS Portal
Run
Search
« Back to
CSS :indeterminate Pseudo Class
<div> <input type="checkbox" id="checkbox"> <label for="checkbox">This label starts out green.</label> </div> <br> <p>Progress bar without a value; i.e. in an indeterminate state.</p> <progress> <script> var inputs = document.getElementsByTagName("input"); for (var i = 0; i < inputs.length; i++) { inputs[i].indeterminate = true; } </script>
If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!
☕ Buy a Coffee