Skip to content

Instantly share code, notes, and snippets.

@npras
Created April 2, 2014 11:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save npras/9932573 to your computer and use it in GitHub Desktop.
A Pen by Prasanna N.
<p class="selectable">
Lorem ipsum blah blah
</p>
<p class="unselectable">
Lorem ipsum blah blah
</p>
*.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