Return to Snippet

Revision: 70246
at December 22, 2015 06:31 by apphp-snippets

Initial Code
<style type="text/css">
  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; }

Initial URL

Initial Description
It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.

Initial Title
My own @font-face in CSS

Initial Tags

Initial Language