1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-30 09:10:59 +02:00

Update README.md with Iconfont usage examples

While trying to use this library I couldn't figure out how to use the iconfont without first digging deeper into the official website, so I included an HTML and CSS example in the README.
This commit is contained in:
Jared Rice
2022-08-11 09:50:23 -04:00
committed by GitHub
parent b83de256dc
commit fc066cef3b

View File

@@ -206,6 +206,17 @@ To load a specific version replace `latest` with the desired version number.
<script src="https://cdn.jsdelivr.net/npm/@tabler/icons@1.74.0/icons-react/dist/index.umd.min.js"></script>
```
###### HTML
```html
<i class="ti ti-brand-tabler"></i>
```
###### CSS
```css
content: 'ec8f';
```
### Compiling fonts
To compile fonts first install [fontforge](https://fontforge.org/en-US/).