阅读背景:

如何向Rails应用程序添加自定义字体?

来源:互联网 

I've got a couple fonts I'd like to use in my RoR application, but their formats are mainly .ttf and .otf, among others. How would I go about embedding these files in my Rails app? Namely, once I put them in my assets folder, what exactly is the syntax for me to embed them in my CSS and/or LESS files?I've got a couple fonts I'd like to use in my R




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: