Update to v4.4

- Change the span- to i-tag
- Change the link to the css file (rename "fonts" folder to "css")
This commit is contained in:
Wiwaltill 2021-07-14 12:08:25 +02:00 committed by GitHub
parent ff0004cd2c
commit 279137974b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,20 +51,20 @@ A React Native library is available to install under the name `iconoir-react-nat
Iconoir is happily part of [Framer](https://framer.com) now. To start using the icons: On the top menu, `Insert` > `Graphics` > `Iconoir`.
You can switch between icons from the right sidebar in the editor.
## Font
## CSS
To use Iconoir as a font, add the [iconoir.css](./fonts/iconoir.css) file in your project.
To use Iconoir in a HTML file, add the [iconoir.css](./fonts/iconoir.css) file in your project.
Import the CSS File:
```html
<link rel="stylesheet" href="https://raw.githubusercontent.com/lucaburgio/iconoir/master/fonts/iconoir.css">
<link rel="stylesheet" href="https://raw.githubusercontent.com/lucaburgio/iconoir/master/css/iconoir.css">
```
Here is an example in HTML:
```html
<span class="iconoir-hand-brake"></span>
<i class="iconoir-hand-brake"></i>
```
The class must always be "iconoir-" and then the name of the icon. You can find the names of the icons [here](https://iconoir.com).