Skip to content

Instantly share code, notes, and snippets.

@decthomas
Created September 6, 2011 06:36
Show Gist options
  • Save decthomas/1196760 to your computer and use it in GitHub Desktop.
Save decthomas/1196760 to your computer and use it in GitHub Desktop.
CSS reset
/*
Reset
*/
article, aside, dialog, figure, footer, header, hgroup, nav, section { display: block; }
body, form, ol, ul, dl, li, dt, dd, td, th ,tr, h1, h2, h3, h4, h5, h6, p, pre, blockquote, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { border: 0; }
fieldset { margin: 0; padding: 0; border: 0; }
input, select, textarea { font-size: 100%; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; empty-cells: show; }
th { text-align: left; }
a:focus { overflow: hidden; }
iframe { border: none !important; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment