Created
May 20, 2015 13:27
-
-
Save abhikhatri/7ad5aa6329123a457a3e to your computer and use it in GitHub Desktop.
Prevent user from selecting elements on all browsers including mobile safari & chrome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-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
Great Abhi, I was looking for this solution for a long time.