Giter Club home page Giter Club logo

web-fonts's Introduction

网页字体

网页上应用到的字体非常少,例如 Window 默认是微软雅黑,如果要用上个性中文字体需要用户系统上安装。现在有很多开源免费商用中文字体,问题是体积很大,每个字体都要7、8MB或更大不利于网页下载。一般网页应用到的汉字不多,我们只需要压缩常用的汉字就能解决这个问题。

快速使用

在 css 目录下选择要使用的字体,替换下面的 字体目录字体样式
https://cdn.jsdelivr.net/gh/ifeiwu/web-fonts/css/字体目录/字体样式.css
添加到页面
<link href="https://cdn.jsdelivr.net/gh/ifeiwu/web-fonts/css/misans/misans.css" rel="stylesheet">

参考资源

中文字体压缩的那些事

web-fonts's People

Contributors

ifeiwu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.