Skip to content

Instantly share code, notes, and snippets.

@RamonPage
Last active October 5, 2015 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RamonPage/2875566 to your computer and use it in GitHub Desktop.
Save RamonPage/2875566 to your computer and use it in GitHub Desktop.
CSS reset
/* Reset */
html, body, div, h1, h2, h3, h4, ul, ol, li, form, fieldset, select, input, textarea, p, dl, dt, dd {
margin: 0;
padding: 0;
font-size: 100%;
background: transparent;
}
a, ins { text-decoration: none; }
del { text-decoration: line-through; }
hr { display: none; }
ul, ol { list-style: none; }
img, fieldset { border: none; }
h1, h2, h3, h4 { font-weight: normal; }
em { font-style: italic; }
strong { font-weight: bold; }
table {
border-collapse: collapse;
border-spacing: 0;
}
main, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
abbr[title], dfn[title]{
cursor: help;
border-bottom: 1px dotted;
}
pre, code {
font-family: monospace;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment