Last active
December 11, 2015 20:28
-
-
Save konrad-gibaszewski/4655360 to your computer and use it in GitHub Desktop.
Prevent any object from being highlighted upon touch event
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-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
-o-user-select: none; | |
user-select: none; | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
/* https://developer.mozilla.org/en-US/docs/CSS/user-select */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added -o-user-select for future compatibility.