Created
March 1, 2012 07:43
-
-
Save atomize/1948093 to your computer and use it in GitHub Desktop.
CSS - Webkit - prevent default ugliness when you touch things
This file contains hidden or 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
* { | |
/* prevent callout to copy image, etc when tap to hold */ | |
-webkit-touch-callout: none; | |
/* prevent webkit from resizing text to fit */ | |
-webkit-text-size-adjust: none; | |
/* make transparent link selection, adjust last value opacity 0 to 1.0 */ | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
/* prevent copy paste, to allow, change 'none' to 'text' */ | |
-webkit-user-select: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment