CSS font-family 中的苹方字体

苹方提供了六个字重,font-family 定义如下:

  苹方-简 常规体
    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;

  苹方除了简体的:苹方-简(PingFang SC),还为繁体用户提供有:苹方-繁(PingFang TC) ,苹方-港(PingFang HK)

  苹方-繁 的 CSS font-family 使用:
    font-family: PingFangTC-Regular, sans-serif;
    font-family: PingFangTC-Ultralight, sans-serif;
    font-family: PingFangTC-Light, sans-serif;
    font-family: PingFangTC-Thin, sans-serif;
    font-family: PingFangTC-Medium, sans-serif;
    font-family: PingFangTC-Semibold, sans-serif;

  苹方-港 的 CSS font-family 使用:
    font-family: PingFangHK-Regular, sans-serif;
    font-family: PingFangHK-Ultralight, sans-serif;
    font-family: PingFangHK-Light, sans-serif;
    font-family: PingFangHK-Thin, sans-serif;
    font-family: PingFangHK-Medium, sans-serif;
    font-family: PingFangHK-Semibold, sans-serif;

posted on 2021-05-12 09:35  家有糖果  阅读(2117)  评论(0编辑  收藏  举报

导航