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

https://github.com/ht-devx/css-font-face-generator

📝 ⸨ tool ⸩  generate a @⁠font-face in CSS with a name and its font file link
https://github.com/ht-devx/css-font-face-generator

css font font-face fontface

Last synced: 2 months ago
JSON representation

📝 ⸨ tool ⸩  generate a @⁠font-face in CSS with a name and its font file link

Awesome Lists containing this project

README

        

### [CSS `@font-face` generator](https://ht-devx.github.io/css-font-face-generator)

**Author:** HT ([@ ht-devx](https://github.com/ht-devx))\
**Release date:** 2024-04-03\
**Last updated:** 2024-04-03 3:01PM [GMT-7]

#### Preview:
![Screenshot recording GIF of the CSS font-face generator.](https://ht-devx.github.io/css-font-face-generator/demo.gif)

#### Options:

| Option name | Details |
| ----------- | ------- |
| Font name | { required } Name of your font, can be anything you like. |
| Font weight | { optional } Numeric font weight. Defaults to `400`. |
| Font style | { optional } Normal or italic. Defaults to `normal`. |
| Font load style | { optional } Sets the `font-display` value: `auto` │ `block` │ `swap` │ `fallback` |
| Font file URL | { required } File link of your font: `.ttf` │ `.otf` │ `.woff` │ `.woff2` |

#### Use it here:
[ht-devx.github.io/css-font-face-generator](https://ht-devx.github.io/css-font-face-generator)