using a ttf in css code example
Example: use .ttf in css
@font-face {
font-family:"Name-Of-Font";
src: url("yourfont.ttf") format("truetype");
}
@font-face {
font-family:"Name-Of-Font";
src: url("yourfont.ttf") format("truetype");
}