Skip to content

Instantly share code, notes, and snippets.

@grantambrose
Last active August 31, 2016 18:05
Show Gist options
  • Save grantambrose/c1e0f76e2278dc80d88289301442fb38 to your computer and use it in GitHub Desktop.
Save grantambrose/c1e0f76e2278dc80d88289301442fb38 to your computer and use it in GitHub Desktop.
10 ways you can better your website's typography today
/* Change Typography for Medium Devices and up */
@media only screen and (min-width: 992px) {
/* ----------------------
TYPOGRAPHY
---------------------- */
body{font-size:20px;}
h1{font-size:2.5em;}
h2{font-size:2em;}
h3{font-size:1.7em;}
h4{font-size:1.5em;}
h5{font-size:1.3em;}
h6{font-size:1.1em;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment