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

https://github.com/kunukn/apis-font

Apis font
https://github.com/kunukn/apis-font

Last synced: about 2 months ago
JSON representation

Apis font

Awesome Lists containing this project

README

        

# Apis font

## Load font from CDN

load the font by inluding this in HTML

```html

```

or import it from CSS

```html

@import "https://unpkg.com/apis-font/fonts/font.css";

```

or load it dynamically from JavaScript

```html

```

or lazy load the CSS

```html

```

apply the font in CSS

```css
body {
font-family: Apis, sans-serif;
}
.font-bold {
font-weight: bold;
}
.font-medium {
font-weight: 500;
}
.font-italic {
font-style: italic;
}
```

Use the font

```html

this is a normal font


this is a bold font


this is a medium font


this is an italic style


```

## Font from npm

```bash
npm install apis-font # yarn add apis-font
```

- The files are in `node_modules/apis-font/fonts`

For quick prototyping, load the font by inluding this in HTML.

```html

```

Alternatively copy the files to a folder outside node_modules.

## More

To see all the available CDN files go to

https://unpkg.com/apis-font/