mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-24 20:41:30 +08:00
1
Extending File Type icons to use in programming
Tryten edited this page 2015-02-02 10:03:47 -08:00
Font-Awesome includes some great file type icons, like fa-file-word-o, but when using the font programmatically, these classes are not as helpful as if the classes relied on the actual file extensions, like fa-file-doc-o or fa-file-docx-o.
The following jsfiddle example shows how you can edit or override the css to include these classes as well as a JavaScript example of how this can be used.