【发布时间】:2019-09-19 10:19:30
【问题描述】:
我对使用 CSS 和 HTML 非常缺乏经验。 我正在建立一个网站,我想使用 Century Gothic 字体 - 但我不知道如何“导入”。
我该怎么做?
【问题讨论】:
我对使用 CSS 和 HTML 非常缺乏经验。 我正在建立一个网站,我想使用 Century Gothic 字体 - 但我不知道如何“导入”。
我该怎么做?
【问题讨论】:
如果您专门寻找 Century Gothic 字体,那么一种选择是在以下 link 标签中使用 Adobe 的托管版本。如果您要导入其他字体,请参考此link。
html {
font-family: century-gothic, sans-serif;
font-weight: 400;
font-style: normal;
}
<html>
<head>
<link rel="stylesheet" href="https://use.typekit.net/oov2wcw.css">
</head>
This is Century Gothic
</html>
【讨论】: