Kengyen

通过Link标签在网页头部引用Google Web Font:

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900">
  • 字体:Noto Sans SC
  • 大小:100, 300, 400, 500, 700, 900

在需要使用思源黑体的地方设置CSS样式:

font-family: "Noto Sans SC";
font-weight: 100;

TIP:Link标签的rel属性的全称是relationship,表示引用内容与当前HTML的关系。

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2021-11-17
  • 2021-12-10
  • 2022-01-27
  • 2021-10-22
  • 2021-06-21
猜你喜欢
  • 2021-07-23
  • 2022-01-14
  • 2022-12-23
  • 2022-01-09
  • 2021-12-16
  • 2022-12-23
  • 2021-06-03
相关资源
相似解决方案