Created
December 26, 2014 19:59
-
-
Save devdays/aff785fb287ae2335455 to your computer and use it in GitHub Desktop.
Example of using font-size in CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.small { | |
font-size: xx-small; | |
} | |
.larger { | |
font-size: larger; | |
} | |
.point { | |
font-size: 24pt; | |
} | |
.percent { | |
font-size: 200%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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