Skip to content

Instantly share code, notes, and snippets.

@wcoder
Last active August 29, 2015 14:22
Show Gist options
  • Save wcoder/342ff831a8a6b32f315d to your computer and use it in GitHub Desktop.
Save wcoder/342ff831a8a6b32f315d to your computer and use it in GitHub Desktop.
styles for WP webView from ionic
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
html {
overflow: hidden;
-ms-touch-action: pan-y;
touch-action: pan-y; }
body, .ionic-body {
-webkit-touch-callout: none;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
margin: 0;
padding: 0;
color: #000;
word-wrap: break-word;
font-size: 14px;
font-family: "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
line-height: 20px;
text-rendering: optimizeLegibility;
-webkit-backface-visibility: hidden;
-webkit-user-drag: none;
-ms-content-zooming: none; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment