目录

CSS 字体搭配


出色的字体搭配对于出色的设计至关重要。


字体配对规则

以下是创建出色字体配对的一些基本规则:

1. 补充

找到相互补充的字体配对总是安全的。

优秀的字体组合应该协调一致,而不是太相似或太不同。

2.使用字体超级家族

字体超家族是一组旨在协同工作的字体。因此,在同一超家族中使用不同的字体是安全的。

例如,Lucida 超家族包含以下字体:Lucida Sans、Lucida Serif、Lucida Typewriter Sans、Lucida Typewriter Serif 和 Lucida Math。

3.对比为王

两种过于相似的字体常常会发生冲突。然而,以正确的方式进行对比可以使每种字体发挥出最好的效果。

示例:衬线体与无衬线体的组合是一种众所周知的组合。

强大的超家族包括同一字体的衬线和无衬线变体(例如 Lucida 和 Lucida Sans)。

4. 只选择一位老板

一种字体应该是老板。这会为页面上的字体建立层次结构。这可以通过改变尺寸、重量和颜色来实现。

示例

毫无疑问"Georgia" 是这里的老大:

body {
  background-color: black;
  font-family: Verdana, sans-serif;
  font-size: 16px;
  color: gray;
}

h1 {
  font-family: Georgia, serif;
  font-size: 60px;
  color: white;
}
亲自试一试 »

下面,我们展示了一些适合许多品牌和环境的流行字体配对。



乔治亚州和韦尔达纳

Georgia 和 Verdana 是一个经典的组合。它还遵守网页安全字体标准:

示例

使用 "Georgia" 字体作为标题,使用 "Verdana" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

Helvetica 和 Garamond

Helvetica 和 Garamond 是另一个使用网页安全字体的经典组合:

示例

使用 "Helvetica" 字体作为标题,使用 "Garamond" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

流行的 Google 字体配对

如果您不想在 HTML 中使用标准字体,可以使用 Google Fonts。

Google Fonts 可免费使用,有超过 1000 种字体可供选择。

以下是一些流行的 Google 网络字体配对。


Merriweather 和 Open Sans

示例

使用 "Merriweather" 字体作为标题,使用 "Open Sans" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

乌班图和劳拉

示例

使用 "Ubuntu" 字体作为标题,使用 "Lora" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

阿布里尔·胖脸和 Poppins

示例

使用 "Abril Fatface" 字体作为标题,使用 "Poppins" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

辛泽尔与动物一号

示例

使用 "Cinzel" 字体作为标题,使用 "Fauna One" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

Fjalla One 和 Libre Baskerville

示例

使用 "Fjalla One" 字体作为标题,使用 "Libre Baskerville" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

空间 Mono 和 Muli

示例

使用 "Space Mono" 字体作为标题,使用 "Muli" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

光谱与魔方

示例

使用 "Spectral" 字体作为标题,使用 "Rubik" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

奥斯瓦尔德和诺托三世

示例

使用 "Oswald" 字体作为标题,使用 "Noto Sans" 字体作为文本:

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

亲自试一试 »

有关所有免费 Google 字体的列表,请访问我们的如何 - Google 字体教程