我在处理CSS和HTML方面非常不熟练。我正在构建一个网站,我想使用Century Gothic字体,但我不知道如何“导入”它。
我该怎么做?
如果您特别想找Century Gothic字体,则可以使用Adobe的托管版本,在以下链接
标签中。如果您想导入其他字体,请参考此链接。
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>