Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> input:indeterminate { box-shadow: 0 0 2px 2px #666; } </style> </head> <body> <h2>Exemple du sélecteur indeterminate</h2> <form> <input type="checkbox" id="box"> Checkbox <script> var checkbox = document.getElementById("box"); checkbox.indeterminate = true; </script> </form> </body> </html>