Skip to content

mykonakona/noto-sans-sc-regular-webfont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

noto-sans-sc-regular-webfont

简介

自托管于Vercel的简中思源黑体,字重Regular,有效提高我的静态博客的网络字体加载速度。

字体文件来自:google webfont helper

使用例

<link rel="preload" href="https://webfonts-seven.vercel.app/noto-sans-sc-v36-chinese-simplified_latin-regular.woff2" as="font" type="font/woff2" crossorigin>
/* noto-sans-sc-regular - chinese-simplified_latin */
@font-face {
    font-display: optional; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    src: url('https://webfonts-seven.vercel.app/noto-sans-sc-v36-chinese-simplified_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Noto Sans SC'
}

Releases

No releases published

Packages

No packages published