mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-30 17:20:31 +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:
11
README.md
11
README.md
@@ -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/).
|
||||
|
Reference in New Issue
Block a user