Firefox SVG with fill:url(#id) style in external stylesheet broken, inline styles are fine

后端 未结 0 1774
没有蜡笔的小新
没有蜡笔的小新 2020-12-18 02:24

In Firefox only, if I try to give a svg path a pattern reference like:

path { fill: url(#ref); }

in an external style sheet, it renders invisible. If I do

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