问题描述
当我使用这个
<i class="fa fa-user-circle" aria-hidden="true"></i>
图标出现了,但是当我使用它
<i class="far fa-user-circle" aria-hidden="true"></i>
它不起作用。 我该如何解决? 注意:这两个图标是不同的。
解决方法
仔细检查您使用的是最新版的Font Awesome。如果您仍在使用版本4,则需要升级到版本5才能使用许多图标。
例如,版本5中引入了'far'常规前缀。
此处的详细信息:https://fontawesome.com/how-to-use/on-the-web/other-topics/troubleshooting