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)spa
蘋方-繁 的 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;.net
蘋方-港 的 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;
---------------------
原文:https://blog.csdn.net/alokka/article/details/83413636blog