Skip to content

Instantly share code, notes, and snippets.

@Huluvu424242
Created January 9, 2013 19:54
Show Gist options
  • Save Huluvu424242/4496273 to your computer and use it in GitHub Desktop.
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.
<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