思源黑体是一款开源字体
思源黑体是一款开源字体
思源黑体是一款开源字体

定义使用

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/** 在首页定义使用 **/
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-2-ExtraLight.otf');
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-3-Light.otf');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-4-Normal.otf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-4-Normal.otf');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-5-Medium.otf');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-5-Medium.otf');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-7-Bold.otf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-7-Bold.otf');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-7-Bold.otf');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('../font/SourceHanSansCN-9-Heavy.otf');
font-weight: 900;
font-style: normal;
}

阿里免费字体

  1. 思源宋体
  2. 阿里巴巴普惠体 2.0
  3. 思源字体

风险字体

1
!!!微软雅黑(方正)和Arial(蒙纳),z这2款不是免费的,切记不要随便使用

底部

没有了