Skip to content

Instantly share code, notes, and snippets.

@im-sad
Last active April 10, 2017 22:03
Show Gist options
  • Save im-sad/a3b52e904b48b2cb007d to your computer and use it in GitHub Desktop.
Save im-sad/a3b52e904b48b2cb007d to your computer and use it in GitHub Desktop.
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}
b, strong {font-weight:bold}
hr {-webkit-box-sizing:content-box;box-sizing:content-box;height:0;}
a {background:transparent;font-size:100%;margin:0;padding:0;vertical-align:baseline;color:#2977bd;}
a:focus {outline:thin dotted}
a:hover, a:active {outline:0}
table {border-collapse:collapse;border-spacing:0;max-width:100%;width:100%;min-height:1px;empty-cells:show;table-layout:fixed;}
td, td img {vertical-align:top}
th {text-align:left}
input, textarea, select, button {color:inherit;font:inherit;font-size:100%;margin:0;vertical-align:baseline;}
textarea {overflow:auto;vertical-align:top;resize:vertical;}
input {line-height:normal}
input[type="checkbox"], input[type="radio"] {box-sizing:border-box;padding:0;}
input[type="checkbox"] {vertical-align:baseline}
input[type="radio"] {vertical-align:text-bottom}
button, label, input[type="button"], input[type="submit"], input[type="reset"] {cursor:pointer}
input[type="search"] {-webkit-appearance:textfield;box-sizing:content-box;}
button, select {text-transform:none}
button {overflow:visible}
button, html input[type="button"], input[type="reset"], input[type="submit"] {-webkit-appearance:button;cursor:pointer;}
button[disabled], html input[disabled] {cursor:default}
button::-moz-focus-inner, input::-moz-focus-inner {border:0;padding:0;}
@-moz-viewport {width:device-width}
@-ms-viewport {width:device-width}
@-webkit-viewport {width:device-width}
@viewport {width:device-width}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment