1.7.0 • Published 2 years ago
lxgw-wenkai-webfont v1.7.0
lxgw-wenkai-webfont
A webfont package for the LXGW WenKai typeface.
For more information about the typeface, see LXGW WenKai's website.
Usage
Use jsDelivr
Put the jsDelivr <link>
into your html head, then set your font-family to use LXGW WenKai
. For example:
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@0/style.min.css" />
<style>
body {
font-family: "LXGW WenKai", sans-serif;
}
</style>
</head>
<body>
<!-- blablabla -->
</body>
</html>
Use NPM
First, install the package via npm or yarn.
npm install --save lxgw-wenkai-webfont
Then import the css to your main css style file and set your font-family to use LXGW WenKai
.
@import '~lxgw-wenkai-webfont/style.css';
body {
font-family: "LXGW WenKai", sans-serif;
}
License
lxgw-wenkai-webfont © Chawye Hsu. Released under the MIT License.
The LXGW WenKai typeface is available under the SIL Open Font License 1.1 license.
Blog · GitHub @chawyehsu · Twitter @chawyehsu