Last active
September 29, 2016 20:57
-
-
Save j8/2ff70e80130e63c49befc11077da2462 to your computer and use it in GitHub Desktop.
less reset
This file contains hidden or 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
/** | |
* Global Reset of all HTML Elements | |
*/ | |
html, body { | |
border: 0; | |
font-family: "Helvetica-Neue", "Helvetica", Arial, sans-serif; | |
line-height: 1.5; | |
margin: 0; | |
padding: 0; | |
} | |
div, span, object, iframe, img, table, caption, thead, tbody, | |
tfoot, tr, tr, td, article, aside, canvas, details, figure, hgroup, menu, | |
nav, footer, header, section, summary, mark, audio, video { | |
border: 0; | |
margin: 0; | |
padding: 0; | |
} | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cit, code, | |
del, dfn, em, ins, q, samp, small, strong, sub, sup, b, i, hr, dl, dt, dd, | |
ol, ul, li, fieldset, legend, label { | |
border: 0; | |
font-size: 100%; | |
vertical-align: baseline; | |
margin: 0; | |
padding: 0; | |
} | |
article, aside, canvas, figure, figure img, figcaption, hgroup, | |
footer, header, nav, section, audio, video { | |
display: block; | |
} | |
table { | |
border-collapse: separate; | |
border-spacing: 0; | |
caption, th, td { | |
text-align: left; | |
vertical-align: middle; | |
} | |
} | |
a img { | |
border: 0; | |
} | |
:focus { | |
outline: 0; | |
} | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment