【问题标题】:Use Century Gothic or other fonts on website [duplicate]在网站上使用 Century Gothic 或其他字体 [重复]
【发布时间】:2019-09-19 10:19:30
【问题描述】:

我对使用 CSS 和 HTML 非常缺乏经验。 我正在建立一个网站,我想使用 Century Gothic 字体 - 但我不知道如何“导入”。

我该怎么做?

【问题讨论】:

    标签: html css


    【解决方案1】:

    如果您专门寻找 Century Gothic 字体,那么一种选择是在以下 link 标签中使用 Adob​​e 的托管版本。如果您要导入其他字体,请参考此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>

    【讨论】:

    • 用户明确表示但我不知道如何“导入”。他/她需要导入。这些是系统字体。你应该先导入它们然后使用它们
    猜你喜欢
    • 2013-03-29
    • 2014-04-10
    • 2011-01-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-26
    • 1970-01-01
    相关资源
    最近更新 更多