Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Micro CSS reset
// micro-reset.scss
//
// Based on the Meyer reset
// Universal selector works great!
// See: http://blogs.telerik.com/kendoui/posts/12-09-28/css_tip_star_selector_not_that_bad
*, *::before, *::after {
margin: 0;
padding: 0;
border: 0;
border-collapse: collapse;
border-spacing: 0;
box-sizing: border-box;
outline: none;
font-size: 100%;
font: inherit;
vertical-align: baseline;
list-style: none;
quotes: none;
}
// HTML 5 me bro
footer, header, hgroup, menu, nav, section, small {
display: block;
}
// No quotes, please!
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment