Created
July 5, 2012 18:27
-
-
Save matthewhudson/3055535 to your computer and use it in GitHub Desktop.
"Reset" css for UIWebView
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
* { | |
/* Safari displays a callout containing information when you touch and hold a touch target such as a link. This property allows you to disable that callout. */ | |
-webkit-touch-callout: none; | |
/* Disable user selection/copy of UIWebView content. */ | |
-webkit-user-select: none; | |
/* Specifies a size adjustment for displaying text content in Safari on iPhone. */ | |
-webkit-text-size-adjust: none; | |
} | |
/* Native buttons/controls: http://css-infos.net/property/-webkit-appearance */ | |
button, input[type=submit] { | |
-webkit-appearance: button; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment