Why font-face rules don't work in my paragraph

2019-10-03 08:39发布

问题:

I am trying to implement Guardian Egyptian font-family in my website. I have implemented font-face rules for remote referring. But in CSS it doesn't work. In fact, it doesn't change the font into Guardian Egyptian. Why?

Here is what I have tried:

回答1:

You can't just put a random URL in a font-face call and expect it to work. That's a link to a site where you can purchase that font. When purchased, they'd give you a webfont-ready version of the font for use on your site.