0

我在不同的浏览器中得到不同的结果

line {
  stroke: white;
  stroke-width: 10;
  mix-blend-mode: exclusion;
}

div {
  display: inline-block;
  background: rgb(231, 229, 218);
}
<div>
  <svg width="100" height="100">
        <line x1="0" y1="0" x2="100" y2="100"/>
      </svg>
</div>

Firefox 呈现白色,Chrome 呈现暗线。哪个是对的?

4

0 回答 0