Last active
December 14, 2015 05:59
-
-
Save miguelmota/5039687 to your computer and use it in GitHub Desktop.
HTML5 Reset Stylesheet. Blog post: http://www.miguelmota.com/blog/html5-reset-stylesheet/
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
/* | |
* HTML5 Reset Stylesheet | |
* v1.0 | 20101223 | |
* (c) 2010-2012 Miguel Mota http://www.miguelmota.com | |
* Released under the MIT license | |
* Inspired by Richard Clark's CSS Reset http://html5doctor.com/html-5-reset-stylesheet | |
*/ | |
html, body, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
abbr, address, cite, code, | |
del, dfn, em, img, ins, kbd, q, samp, | |
small, strong, sub, sup, var, | |
b, i, | |
dl, dt, dd, ol, ul, li, | |
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 { | |
background: transparent; | |
border: 0; | |
font-size: 100%; | |
margin: 0; | |
outline: 0; | |
padding: 0; | |
vertical-align: baseline; | |
} | |
body { | |
line-height: 1; | |
} | |
article, aside, details, figcaption, figure, | |
footer, header, hgroup, menu, nav, section { | |
display: block; | |
} | |
ol, ul { | |
list-style: none; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-size: 100%; | |
font-weight: normal; | |
} | |
blockquote, q { | |
quotes: none; | |
} | |
blockquote:before, blockquote:after, | |
q:before, q:after { | |
content: ''; | |
content: none; | |
} | |
:focus { | |
outline: 0; | |
} | |
a { | |
text-decoration: none; | |
} | |
ins { | |
text-decoration: none; | |
} | |
mark { | |
font-style: italic; | |
font-weight: bold; | |
} | |
del { | |
text-decoration: line-through; | |
} | |
abbr[title], dfn[title] { | |
border-bottom: 1px dotted; | |
cursor: help; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
caption, th, td { | |
font-weight: normal; | |
text-align: left; | |
} | |
hr { | |
border: 0; | |
border-top: 1px solid #ccc; | |
display: block; | |
height: 1px; | |
margin: 1em 0; | |
padding: 0; | |
} | |
input, select { | |
vertical-align: middle; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment