Skip to content

Instantly share code, notes, and snippets.

@leohxj
Created August 19, 2013 03:26
Show Gist options
  • Save leohxj/6265537 to your computer and use it in GitHub Desktop.
Save leohxj/6265537 to your computer and use it in GitHub Desktop.
移动平台广告的Reset CSS
/*============= Begin Reset CSS =============*/
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
vertical-align: baseline;
background: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: transparent;
}
:focus {
outline: none;
}
::-moz-focus-inner {
border: 0;
}
img {
display: block;
}
body {
-webkit-backface-visibility:hidden;
-moz-backface-visibility:hidden;
-ms-backface-visibility:hidden;
-o-backface-visibility:hidden;
backface-visibility:hidden;
}
/*============= END Reset CSS =============*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment