Skip to content

Instantly share code, notes, and snippets.

@sammoore
Last active October 7, 2017 19:16
Show Gist options
  • Save sammoore/f605ad9c4a3b5e8317d7dd1d2df606b2 to your computer and use it in GitHub Desktop.
Save sammoore/f605ad9c4a3b5e8317d7dd1d2df606b2 to your computer and use it in GitHub Desktop.
yet another reset.css
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 62.5%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
del {
text-decoration: line-through;
}
mark {
background-color: #ff9;
color: black;
font-style: italic;
font-weight: bold;
}
input, select {
vertical-align: center;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
hr {
display: block;
height: 1px;
border-top: 1px solid #ccc;
margin: 1em 0;
}
/* Legacy HTML5 support */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
nav ul {
list-style: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment