Load external font with javascript and jquery

前端 未结 4 1755
予麋鹿
予麋鹿 2020-12-15 12:33

I have a < p > element created dynamically with jquery, and I want to style it with a custom font that I have on my hard drive.

Could you sugest me a method to lo

4条回答
  •  庸人自扰
    2020-12-15 13:00

    I found a good solution using fontface plugin for jquery. http://www.sitepoint.com/the-fontface-jquery-plugin/

提交回复
热议问题