An open API service indexing awesome lists of open source software.

https://github.com/lruihao/mmt-webfont

The webfont package for the MMT typeface.
https://github.com/lruihao/mmt-webfont

cjk mmt vue3 webfont

Last synced: about 1 year ago
JSON representation

The webfont package for the MMT typeface.

Awesome Lists containing this project

README

          

# MMT webfont package

The webfont package for the [MMT](https://github.com/Lruihao/mmt) typeface.

## Demo

[MMT typeface online demo](https://lruihao.github.io/mmt-webfont/)

## Installation

### Browser

The link embedding method can be used by web pages, mini-programs, and other platforms that support loading CSS styles.

```html

```

```css
@import url('https://cdn.jsdelivr.net/npm/mmt-webfont/dist/result.css');
```

### NPM

To use the MMT webfont in your project, you can install it via npm:

```bash
npm install mmt-webfont
```

Then, you can import the CSS file in your project:

```javascript
import 'mmt-webfont/dist/result.css'
```

## Usage

Restricted font usage area:

```css
article {
font-family: 'MMT';
}
```