mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-20 06:35:20 +02:00
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:
parent
ff0004cd2c
commit
279137974b
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in a new issue