Skip to content

shyrz/webfonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webfonts

Usage

1. Use it with jsdelivr (Recommend)

https://cdn.jsdelivr.net/npm/@shyrz/[email protected] + path/to/webfont

For example, if you want to import HYXuanSong55S font to your project, use it in CSS like this:

@font-face {
	font-family: 'MySerif';
	src: url('https://cdn.jsdelivr.net/npm/@shyrz/[email protected]/HanYi/HYXuanSong/HYXuanSong55S.woff2') format('woff2');
	font-weight: 400;
	font-stretch: normal;
}

About

☄ GitHub as a CDN of Webfonts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published