0

我有这样的查询(截断)

  <linearGradient id="color1">
      <stop stop-color="#0F1494"/>
    </linearGradient>
.
.
.

在同一个查询中进一步向下是一个引用的项目

 <rect width="100%" height="100%" fill="url(#color2)"/>

    <svg x="50%" y="50%" width="50%" height="50%">

底部查询使用“color2”,我也可以通过与 color2 的匹配轻松引用它。但是,如果我想匹配 id(即 #0F1494),我将如何访问它?

4

0 回答 0