css:为一个图标使用两个类

时间:2017-03-06 15:46:04

标签: css icons

我有一个我称之为的图标:

<i class="fa icon-potencial_biomasa "></i>

但我在这个图标上有两个与css相关的课程:

.icon-potencial_biomasa .path1:before {
  content: "\e979";
  color: rgb(62, 164, 192);
}
.icon-potencial_biomasa .path2:before {
  content: "\e97a";
  margin-left: -1em;
  color: rgb(64, 164, 192);
}

但它必须只有1个图标。那个css不是我的,我必须用它来设置图标icon-potencial_biomasa。我该怎么做?不知道如何在css中设置代码。我不明白.path1:before和path2。

正在做什么

我需要做的是:

enter image description here

我需要底部的图标,不知道如何。

0 个答案:

没有答案