WEB引入Google思源黑体

通过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的关系。

 

posted @ 2019-06-16 12:47  Kengyen  阅读(4068)  评论(0编辑  收藏  举报