diff options
author | Jared Rice <jared.rice17@gmail.com> | 2022-08-11 09:50:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 09:50:23 -0400 |
commit | fc066cef3bddc9348c3411c536d88dee4331a1ea (patch) | |
tree | e53326dc3cd3514c4927d555b2255fbfcc7769bd | |
parent | Release 1.81.0 (diff) | |
download | tabler-icons-fc066cef3bddc9348c3411c536d88dee4331a1ea.tar.xz |
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.
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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/). |