Skip to content

Instantly share code, notes, and snippets.

@devdays
Created December 26, 2014 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdays/aff785fb287ae2335455 to your computer and use it in GitHub Desktop.
Save devdays/aff785fb287ae2335455 to your computer and use it in GitHub Desktop.
Example of using font-size in CSS
.small {
font-size: xx-small;
}
.larger {
font-size: larger;
}
.point {
font-size: 24pt;
}
.percent {
font-size: 200%;
}
<h1 class="small">Small H1</h1>
<h1 class="larger">Larger H1</h1>
<h1 class="point">24 point H1</h1>
<h1 class="percent">200% H1</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment