Skip to content

Instantly share code, notes, and snippets.

@namklabs
Created April 10, 2012 19:16
Show Gist options
  • Save namklabs/2353772 to your computer and use it in GitHub Desktop.
Save namklabs/2353772 to your computer and use it in GitHub Desktop.
Disable text selection - cross browser
/*
http://stackoverflow.com/a/4407335/448640
*/
-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