Skip to content

Instantly share code, notes, and snippets.

@stephenwil
Created June 10, 2016 12:26
Show Gist options
  • Save stephenwil/2dd42235395edf2eb8b0cadf3ef5a2b0 to your computer and use it in GitHub Desktop.
Save stephenwil/2dd42235395edf2eb8b0cadf3ef5a2b0 to your computer and use it in GitHub Desktop.
CSS to "disable" input fields
.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