@font-face
The @font-face at-rule allows you to define custom fonts. It was first defined in the CSS2 specification, but was removed from CSS2.1. Currently, it’s a draft recommendation for CSS3.
Example @font-face
Declares the font family called “MyFont”:
@font-face { font-family: “My Font”; src: url(“http://yoursite/MyFont.otf”);}
Then call it using font-family:
h1 { font-family: “My Font”,sans-serif; }