Skip to content

Instantly share code, notes, and snippets.

@ldt1992
ldt1992 / reset.css
Created April 10, 2017 22:03 — forked from im-sad/reset.css
Reset
html,body,div,span,h1,h2,h3,h4,h5,h6,p,img,em,strike,strong,s,b,u,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,menu,nav,section,time,mark,audio,video,main {background:transparent;border:0;font-size:100%;margin:0;padding:0;outline:0;vertical-align:baseline;}
article,aside,details,figcaption,figure,footer,header,nav,section,main,menu {display:block}
html {font-size:10px;overflow-y:scroll;-webkit-tap-highlight-color:transparent;-ms-overflow-style:scrollbar;}
body {font:16px/1.5 Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;font-size:1.6rem;text-align:left;background:#fff;color:#222;}
html, body {height:100%;width:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
ol, ul {list-style:none}
img {border:none}
svg:not(:root) {overflow:hidden}