Created
August 14, 2013 15:10
-
-
Save HituziANDO/6231977 to your computer and use it in GitHub Desktop.
HTML長押しで出てくるAlertView等を封印します。
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
* { | |
/* 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; | |
} | |
input { | |
-webkit-user-select: text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment