Skip to content

Instantly share code, notes, and snippets.

@vipickering
Last active December 21, 2015 01:39
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 vipickering/6229453 to your computer and use it in GitHub Desktop.
Save vipickering/6229453 to your computer and use it in GitHub Desktop.
CSS: Reset
/* Reset
-------------------------------------------------- */
/* It is an intelligent reset, that gives the most flexible starting options. */
/* Code
-------------------------------------------------- */
html,body,div,span,applet,object,iframe, h1,h2,h3,h4,h5,h6,p,blockquote,pre,hr, a,abbr,address,cite,code, del,dfn,em,img,ins,kbd,q,s,samp, small,strong,sub,sup,tt,var, b,u,i, fieldset,form,label,legend, table,caption,tbody,tfoot,thead,tr,th,td, article,aside,canvas,details,figcaption,figure, footer,header,hgroup,menu,nav,section,summary, time,mark,audio,video{ margin:0; padding:0; }
article,aside,details,figcaption,figure,footer, header,hgroup,menu,nav,section{ display:block; }
h1,h2,h3,h4,h5,h6,p { font-size:1em; }
table { border-collapse:collapse; border-spacing:0; }
strong,b,mark { font-weight:bold; font-style:inherit; }
em,i,cite,q,address,dfn,var { font-style:italic; font-weight:inherit; }
abbr[title],dfn[title] { cursor:help; border-bottom:1px dotted; }
ins { border-bottom:1px solid; }
a,u,ins { text-decoration:none; }
del,s { text-decoration:line-through; }
pre,code,samp,kbd { font-family:monospace; }
img { border:none; font-style:italic; }
a img { border:none; }
input, select,option, optgroup, textarea{ font:inherit; }
* { box-sizing: border-box; } /* Make all elements use border-box sizing for easier calculations */
@vipickering
Copy link
Author

Need to refactor this to be less harsh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment