SVG is supposed to use its own color regardless css fill: currentColor

前端 未结 0 984
醉话见心
醉话见心 2021-02-02 15:57

my problem is this:

.icon {
  color: red;

  > svg {
    fill: currentColor;

    path,
    use {
      fill: currentColor;
    }
  }
}

now i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题