Skip to content

Instantly share code, notes, and snippets.

@npras
Created April 2, 2014 11:48
Show Gist options
  • Save npras/9932573 to your computer and use it in GitHub Desktop.
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