Code Monkey home page Code Monkey logo

lxgw-font's Introduction

霞鹜文楷

支持 霞鹜文楷 各种格式的字体,使字体兼容更旧的浏览器。

引入字体

普通引入

速度较慢,但是可以得到更多兼容

引入完全版字体

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/original/font.css">

引入精简版字体

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/font.css">

引入精简版字体 ( font-family无需加Lite )

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/font2.css">

分包引入

速度较快,兼容现代浏览器

引入完全版字体

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/original/split/font.css">

引入精简版字体

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/split/font.css">

引入精简版字体 ( font-family无需加Lite )

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/split/font2.css">

兼容引入

如果支持分包,则引入分包,不支持则使用普通引入

引入完全版字体

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/original/font.css">
<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/original/split/font.css">

引入精简版字体

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/font.css">
<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/split/font.css">

引入精简版字体 ( font-family无需加Lite )

<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/font2.css">
<link rel="stylesheet" href="https://gxlydlyf.github.io/LXGW-font/lite/split/font2.css">

注意

将会自动重定向,请不要把url改为重定向后的url(除非浏览器不支持自动重定向)

使用字体

使用完全版字体( 和使用精简版font-family无需加Lite字体 )

<style>
    html, textarea, pre, code {
        font-family: LXGW WenKai, LXGW WenKai Mono, SF Pro SC, SF Pro Text, SF Pro Icons, PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
    }
</style>

使用精简版字体

<style>
    html, textarea, pre, code {
        font-family: LXGW WenKai Lite, LXGW WenKai Mono Lite, SF Pro SC, SF Pro Text, SF Pro Icons, PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
    }
</style>

lxgw-font's People

Contributors

gxlydlyf 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.