Created
September 5, 2023 14:40
-
-
Save iwstkhr/b7043482cdd419df21195aebd7dbcba4 to your computer and use it in GitHub Desktop.
Making Checkboxes Read-only by CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="checkbox" style="pointer-events: none" checked/>Click me! | |
<input type="checkbox" checked/>Toggle me! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment