本章介绍Font Awesome Hand图标的用法.假设自定义是CSS类名,我们在其中定义了大小和颜色,如下面给出的示例所示.
<html> <head> <link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"> <style> i.custom {font-size: 2em; color: gray;} </style> </head> <body> <i class = "fa fa-adjust custom"></i> </body> </html>
下表显示了Font Awesome Hand图标的用法和结果.替换<身体>上面程序的标签,用表中给出的代码得到相应的输出 :
用法 | 结果 |
---|---|
< i class ="fa fa -hand-rock -o custom"></i> | |
< i class ="fa fa-hand-o-left custom"></i> | |
< i class ="fa fa-hand-paper-o custom"></i> | |
< i class ="fa fa-hand-rock-o custom"> </i> | |
< i class ="fa fa-hand-stop-o custom"></i> | |
< i class ="fa fa -thumbs-o-up custom"></i> ; | |
< i class ="fa fa-hand-lizard -o custom"></i> | |
< i class ="fa fa-hand-o -right custom"></i> | |
< i class ="fa fa-hand-peace-o custom"></i> | |
< i class ="fa fa-hand-scissors-o custom"></i> | |
< i class ="fa fa-thumbs-down custom"></i> | |
< i class ="fa fa-thumbs-up custom"></i> | |
< i class ="fa fa-hand-o-up custom"&g t;</i> | |
< i class ="fa fa-hand-pointer-o custom"></i> | |
< i class =" fa fa-hand-spock -o custom"></i> | |
< i class ="fa fa-thumbs-o-down custom"></i> |