Created
June 10, 2016 12:26
-
-
Save stephenwil/2dd42235395edf2eb8b0cadf3ef5a2b0 to your computer and use it in GitHub Desktop.
CSS to "disable" input fields
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
.disabled { | |
cursor: not-allowed; | |
pointer-events: none; | |
opacity: .65; | |
filter: alpha(opacity=65); | |
box-shadow: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment