Created
January 9, 2013 19:54
-
-
Save Huluvu424242/4496273 to your computer and use it in GitHub Desktop.
Einbinden von WOFF Schriften in eine Webseite per CSS3
Wenn der Browser kein WOFF versteht wird sans-serif benutzt.
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<style type="text/css"> | |
@font-face { | |
font-family: aftershok; | |
src: url(./AfterShok.woff); | |
} | |
p{ | |
font-family: aftershok, sans-serif; | |
font-size:20px; | |
} | |
</style> | |
</head> | |
<body> | |
<p>The quick brown fox jumps over the lazy dog</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment