Created
December 3, 2014 05:43
-
-
Save devdays/ba487ba7bb321afbf2b5 to your computer and use it in GitHub Desktop.
CSS3 Fonts
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
@font-face { | |
font-family: Pfennig; | |
src: url( /Content/Pfennig.ttf ) format("truetype"); | |
} | |
/* Then use it like you would any other font */ | |
.Pfennig{ font-family: Pfennig, verdana, helvetica, sans-serif; } | |
h1 | |
{ | |
font-size: x-large; | |
vertical-align: middle; | |
background: #C0C0C0; | |
font-family: Pfennig; | |
font-weight: 200; | |
color: #000080; | |
line-height: 100px; | |
height: 75px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment