Last active
December 21, 2015 01:39
-
-
Save vipickering/6229453 to your computer and use it in GitHub Desktop.
CSS: Reset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to refactor this to be less harsh.