开发者

More than one font with Cufon?

Is it possible to have more th开发者_StackOverflow社区an one Cufon font on a website? If so, how?


Yes it is possible. Link multiple font files to page. And Invoke Cufon.replace with fontFamily attribute. Example:

Cufon.replace('div.contactus-slogan', {
    fontFamily: "Myriad Pro"
});


Cufon.replace('div.slogan-left-content h1',  {
    fontFamily: "Myriad Pro Light"
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜