Hi,
I recently came across @font-face and I was really excited when I read that finally we webdevelopers have a way to have our own fonts display on any browser/computer and for all users regardless of their browser settings and them having or not the font installed. However, I havent been able to find a working example just yet. I tried to implement it myself and its not working either so whats the catch? This is my code:
@font-face {
font-family: DeliciousRoman;
src: local('DeliciousRoman'), url('font.ttf') format('truetype');
}
span {
font-family: 'DeliciousRoman', sans-serif;
}
<span>example</span>
The font displayed is the ordinary browser font. Is it a limitation of @font-face or its just my code?
Thank you.