- upload your font into the css directory
- declare a new font-face
- url to font is relative to the css file!
@font-face {
font-family: 'eras'; /*a name to be used later*/
src: url('Eras-Demi-ITC_15890.ttf'); /*URL to font*/
}
body {
font-family: 'eras';
}
Keine Kommentare:
Kommentar veröffentlichen