Skip to content

Instantly share code, notes, and snippets.

@robinbastien
Created March 10, 2014 13:41
Show Gist options
  • Save robinbastien/9465098 to your computer and use it in GitHub Desktop.
Save robinbastien/9465098 to your computer and use it in GitHub Desktop.
A sample of some common HTML elements to override a reset stylesheet.
ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px;}
em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; }
p img { margin: 0; }
h1 { font-size: 22px; line-height: 28px;}
h2 { font-size: 22px; line-height: 26px;}
h3 { font-size: 18px; line-height: 22px;}
h4 { font-size: 16px; line-height: 20px;}
h5 { font-size: 12px; line-height: 16px;}
h6 { font-size: 10px; line-height: 14px;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment