/ Published in: CSS

It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<style type="text/css"> @font-face{ font-family: 'MyFont'; src: url('myfont.eot'); src: url('myfont.eot?#iefix') format('embedded-opentype'), url('myfont.woff') format('woff'), url('myfont.ttf') format('truetype'), url('myfont.svg#webfont') format('svg'); } h1 { font-family: 'MyFont', sans-serif; } </style>
URL: http://apphp.com/index.php?snippet=css-my-own-font
Comments
