Skip to content

Instantly share code, notes, and snippets.

@bentranter
Created July 27, 2015 21:55
Show Gist options
  • Save bentranter/0807f64f91d50042d1c4 to your computer and use it in GitHub Desktop.
Save bentranter/0807f64f91d50042d1c4 to your computer and use it in GitHub Desktop.
Chrome 44 User Agent Stylesheet Excerpt - I never knew it did this kind of stuff
/**
* h1 has different defaults depending on what the h1 element
* is in.
*/
h1 {
display: block;
font-size: 2em;
-webkit-margin-before: 0.67em;
-webkit-margin-after: 0.67em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
font-weight: bold;
}
:-webkit-any(article,aside,nav,section) h1 {
font-size: 1.5em;
-webkit-margin-before: 0.83em;
-webkit-margin-after: 0.83em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment