Skip to content

Instantly share code, notes, and snippets.

@helb
Created December 12, 2014 12:33
Show Gist options
  • Save helb/59d02e897bdd45c3293d to your computer and use it in GitHub Desktop.
Save helb/59d02e897bdd45c3293d to your computer and use it in GitHub Desktop.
(S)CSS reset
/* some parts are from Eric Meyer's CSS Reset <http://meyerweb.com/eric/tools/css/reset/> */
/* license: public domain */
*, *:before, *:after{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
border: none;
outline: none;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body{
line-height: 1;
}
blockquote, q{
quotes: none;
&:before, &:after, {
content: '';
content: none;
}
}
table {
border-collapse: collapse;
border-spacing: 0;
}
// HTML5 display-role reset for old browsers:
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment