本章介绍Font Awesome文件类型图标的用法.假设自定义是CSS类名,我们在其中定义了大小和颜色,如下面给出的示例所示.
下表显示了Font Awesome文件类型图标的用法和结果.替换<身体>上面程序的标签,用表中给出的代码得到相应的输出 :
用法 | 结果 |
---|---|
< i class ="fa fa-file custom" > | |
< i class ="fa fa-file-archive-o custom"> | |
< i class ="fa fa-file -audio -o custom"> | |
< i class ="fa fa-file-code -o custom"> | |
< i class ="fa fa-file-excel -o custom"> | |
< i class ="fa fa-file-image-o custom"> | |
< ; i class ="fa fa-file-movie-o custom"> | |
< i class ="fa fa-file-o custom"> | |
< i class ="fa fa-file-pdf-o custom"> | |
< i class ="fa fa-file-photo-o custom "> | |
< i class ="fa fa-file-picture-o custom"> | |
< i class = "fa fa-file-powerpoint -o custom"> | |
< i class ="fa fa-file-video-o custom"> | |
< i class ="fa fa-file-word -o custom"> | |
< i class ="fa fa-file- zip-o custom"> | |
< i class ="fa fa-file-sound-o custom"> | |
< ; i class ="fa fa-file-text custom"> | |
< i class ="fa fa-file-text-o custom"> |