Skip to content

Instantly share code, notes, and snippets.

@bellydrum
Last active October 15, 2019 00:03
Show Gist options
  • Save bellydrum/857253255810b5e6769548e68cd0373c to your computer and use it in GitHub Desktop.
Save bellydrum/857253255810b5e6769548e68cd0373c to your computer and use it in GitHub Desktop.
Make text unselectable - CSS
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment