Skip to content

Instantly share code, notes, and snippets.

@DanAntFerrari
Created June 10, 2013 13:09
Show Gist options
  • Save DanAntFerrari/5748581 to your computer and use it in GitHub Desktop.
Save DanAntFerrari/5748581 to your computer and use it in GitHub Desktop.
/*
* Reset default browser CSS inside a element with class ".reset-inner".
* Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
.reset-inner, .reset-inner div, .reset-inner span, .reset-inner applet, .reset-inner object, .reset-inner iframe,
.reset-inner h1, .reset-inner h2, .reset-inner h3, .reset-inner h4, .reset-inner h5, .reset-inner h6, .reset-inner p, .reset-inner blockquote, .reset-inner pre,
.reset-inner a, .reset-inner abbr, .reset-inner acronym, .reset-inner address, .reset-inner big, .reset-inner cite, .reset-inner code,
.reset-inner del, .reset-inner dfn, .reset-inner em,.reset-inner img, .reset-inner ins, .reset-inner kbd, .reset-inner q, s, .reset-inner samp,
.reset-inner small, .reset-inner strike, .reset-inner strong, .reset-inner sub, .reset-inner sup, .reset-inner tt, .reset-inner var,
.reset-inner b, .reset-inner u, .reset-inner i, .reset-inner center,
.reset-inner dl, .reset-inner dt, .reset-inner dd, .reset-inner ol, .reset-inner ul, .reset-inner li,
.reset-inner fieldset, .reset-inner form, .reset-inner label, .reset-inner legend,
.reset-inner table, .reset-inner caption, .reset-inner tbody, .reset-inner tfoot, .reset-inner thead, .reset-inner tr, .reset-inner th, .reset-inner td,
.reset-inner article, .reset-inner aside, .reset-inner canvas, .reset-inner details, .reset-inner embed,
.reset-inner figure, .reset-inner figcaption, .reset-inner #footerWp, .reset-inner header, .reset-inner hgroup,
.reset-inner menu, .reset-inner nav, .reset-inner output, .reset-inner ruby, .reset-inner section, .reset-inner summary,
.reset-inner time, .reset-inner mark, .reset-inner audio, .reset-inner video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
.reset-inner article, .reset-inner aside, .reset-inner details, .reset-inner figcaption, .reset-inner figure,
.reset-inner footer, .reset-inner header, .reset-inner hgroup, .reset-inner menu, .reset-inner nav, .reset-inner section {
display: block;
}
.reset-inner {
line-height: 1;
}
.reset-inner ol, .reset-inner ul {
list-style: none;
}
.reset-inner blockquote, .reset-inner q {
quotes: none;
}
.reset-inner blockquote:before, .reset-inner blockquote:after,
.reset-inner q:before, .reset-inner q:after {
content: '';
content: none;
}
.reset-inner table {
border-collapse: collapse;
border-spacing: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment