代码之家  ›  专栏  ›  技术社区  ›  Abram

引导程序4默认使用哪种字体权重?

  •  0
  • Abram  · 技术社区  · 6 年前

    我想从Google字体中导入一个新字体,并确保获得适当的字体权重。使用的默认值是什么?我看了一下四周,好像用了300和500,还有其他的吗?

    1 回复  |  直到 6 年前
        1
  •  2
  •   Carol Skelly    6 年前

    从最新的Bootstrap 4.1.3_variables.scss(Bootstrap.css就是从它构建的)。。。

    $font-weight-light: 300;
    $font-weight-normal: 400;
    $font-weight-bold: 700; 
    ..
    $headings-font-weight: 500;