PingFang(苹方)字体的引用
作者:互联网
链接:https://pan.baidu.com/s/1rw39Yqo9fv9BYz_JZ5lyRw
提取码:o7kf
苹方-简 常规体
font-family: pingFangSC-Regular, sans-serif;
苹方-简 极细体
font-family: pingFangSC-Ultralight, sans-serif;
苹方-简 细体
font-family: pingFangSC-Light, sans-serif;
苹方-简 纤细体
font-family: pingFangSC-Thin, sans-serif;
苹方-简 中黑体
font-family: pingFangSC-Medium, sans-serif;
苹方-简 中粗体
font-family: pingFangSC-Semibold, sans-serif;
注:繁体:pingFangSC 改成 pingFangTC
自定义字体
//用法:
@font-face{
font-family: 'pingFangSC-Light';
src: url('PingFangLight.ttf');
font-weight: normal;
font-style: normal;
}
html,body { font-family: pingFangSC-Light, sans-serif; }
标签:sans,family,serif,苹方,PingFang,字体,font,pingFangSC 来源: https://www.cnblogs.com/kerin/p/15720568.html