开发者

Is there a way to use custom font saved in fonts directory in our web directory?

I am trying to do something like this

font-family: url('fonts/myfont.ttf');

You might think this is a stupid question, but if there is 开发者_Go百科a way tell me


You have a few options, check out @font-face, a CSS based solution and cufon, a JavaScript solution.


I would look at this myself:

http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/


I would look into sIFR:

http://novemberborn.net/sifr3

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜