为什么字体表面规则在我的段落中不起作用? [英] Why font-face rules don't work in my paragraph?

查看:145
本文介绍了为什么字体表面规则在我的段落中不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上尝试执行 Guardian Egyptian font-family。我已经实现了font-face规则用于远程引用。但在CSS它不工作。事实上,它不会将字体更改为 Guardian Egyptian 。为什么?

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:

推荐答案

您不能将随机网址放在 font-face 调用并期望它工作。这是指向您可以购买该字体的网站的链接。购买时,他们会为您提供网络版的字体,供您的网站使用。

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.

这篇关于为什么字体表面规则在我的段落中不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆