Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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