mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-29 03:52:34 +02:00
22 lines
565 B
Markdown
22 lines
565 B
Markdown
# Iconoir - CSS
|
|
|
|
Import the CSS file:
|
|
|
|
```html
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css"
|
|
/>
|
|
```
|
|
|
|
Here is an example in HTML:
|
|
|
|
```html
|
|
<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).
|
|
|
|
The icons are `display: inline-block` and default to the current font size. You can control this
|
|
by adjusting the `::before` styles of the element (which is where the icons are added as a mask).
|