- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在为我的 UI 使用 Angular 5 的超棒字体。因为我使用的是 sass
,所以我在安装 font-awesome
.angular-cli.json
中添加了以下行
"styles": [
"../node_modules/font-awesome/scss/font-awesome.scss",
"../node_modules/bootstrap/scss/bootstrap.scss",
"styles.scss"
],
一些图标可以工作,例如
<i class="fa fa-money blue-text"></i>
<i class="fa fa-code blue-text"></i>
但是更多的不是。例如,我想使用这个 bar chart icon使用 fas fa-chart-bar
,但它不显示任何内容。 fas fa-camera-retro
之类的东西只显示为一个奇怪的方 block ,而不是实际的图标。
为什么有些图标不起作用?有没有办法检查我安装的 font-awesome 包中是否存在这些 css 类?
刚刚在 node_modules\font-awesome\css\font-awesome.css
中搜索了 bar
图表,只有 fa-bar-chart
存在,而不是 fa-chart-bar
。当我安装它时,我有最新的 font-awesome (4.7.0)。为什么他们的网站显示 fa-chart-bar
。刚刚让它与 fa fa-bar-chart
一起使用。为什么它是 fa
而不是 fas
我无法理解
最佳答案
Just searched bar chart in node_modules\font-awesome\css\font-awesome.css and only fa-bar-chart exists, not fa-chart-bar. I have the latest font-awesome when I had it installed (4.7.0). Why does their website says fa-chart-bar. Just got it to work with fa fa-bar-chart. Why it is fa and not fas is beyond me
FA5 的发布改变了这一点,因为现在图标有多种样式:
fas
:FontAwesome solidfar
:FontAwesome 常规fab
:FontAwesome 品牌fal
: FontAwesome light但是,FontAwesome5 free 仅对大多数图标具有纯色。要获得完整的体验,您必须付费 FontAwesome Pro .
关于html - 为什么一些字体很棒的图标不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49483115/
关闭。这个问题需要debugging details .它目前不接受答案。 编辑问题以包含 desired behavior, a specific problem or error, and t
我正在开发一个 rdp 虚拟 channel 应用程序。我已经在注册表中注册了客户端 dll 并试图理解,客户端 dll 已加载。但是当从 pEntryPoints 调用 pVirtualChanne
是否可以通过 GPRS(USB 棒)绑定(bind)(聚合)多个连接并将其用作 Linux 中的一个链接? 最佳答案 技术上是可行的。 Linux 有一个名为 bonding 的模块它可以将多个接口(
我的主容器 div 可以刷新,所以它的内容被隐藏/显示。当我的容器 div 隐藏时,我的页脚会弹出。 html 结构如下所示: 注意我已经试过了: 而且它似乎不起作用,当隐藏容器 div 时,页脚 d
我有一个问题,我可以使用 wpa_suppli 进行无线连接 cant on some network, but i need to connect on a network where the SS
我是一名优秀的程序员,十分优秀!