Skip to content

Instantly share code, notes, and snippets.

@shiftgeist
Last active November 25, 2019 09:58
Show Gist options
  • Save shiftgeist/a5eef02a60c89f4987191fa2484289c5 to your computer and use it in GitHub Desktop.
Save shiftgeist/a5eef02a60c89f4987191fa2484289c5 to your computer and use it in GitHub Desktop.
Mayers Browser Reset 2.1, making this a fork soonTM
// Adjust version of Eric Meyers Browser Reset 2.0
html,
body,
div,
span,
applet,
object,
iframe,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
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,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
vertical-align: baseline;
margin: 0;
border: 0;
padding: 0;
font-size: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
vertical-align: baseline;
border: 0;
padding: 0;
font-weight: 400;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
body {
line-height: 1;
}
img {
border: 0;
}
ol,
ul {
list-style: none;
}
pre {
overflow: auto;
}
svg:not(:root) {
overflow: hidden;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th,
td {
vertical-align: middle;
font-weight: 400;
text-align: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment