Skip to content

Instantly share code, notes, and snippets.

@dypsilon
Created April 19, 2011 22:16
Show Gist options
  • Save dypsilon/929854 to your computer and use it in GitHub Desktop.
Save dypsilon/929854 to your computer and use it in GitHub Desktop.
CSS3 Reset
/* via http://blog.mostof.it/a-basic-css3-reset/ */
/* had no opportunity to use it yet */
* { outline: 0; }
html, body { min-height: 100%; }
body, ul, ol, dl { margin: 0; }
img { border: 0; }
article, aside, audio, footer, header, nav, section, video { display: block }
input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner { border : 0px; }
input[type="search"] { -webkit-appearance: textfield; }
input[type="submit"] { -webkit-appearance:none; }
img.right { float: right; margin-left: 2em; clear: right; }
img.left { float: left; margin-right: 2em; clear: left; }
table { border-collapse: collapse; }
th { background: #000; color: #fff; }
td { padding: 1em; border: 1px solid black;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment