我有一个包含以下内容的SVG:
<linearGradient id="path-2_2_" gradientUnits="userSpaceOnUse" x1="-275.652" y1="410.9046" x2="-275.0113" y2="412.0578" gradientTransform="matrix(46 0 0 -45.9998 12690 18947.9102)">
<stop offset="0" style="stop-color: rgb(248, 64, 24);"></stop>
<stop offset="0.6458" style="stop-color: rgb(248, 64, 24); stop-opacity: 0.6009;"></stop>
<stop offset="1" style="stop-color: rgb(248, 64, 24); stop-opacity: 0.2527;"></stop>
</linearGradient>
我想把它转换成CSS背景,但效果并不理想:
background: linear-gradient(
rgb(248, 64, 24) 0%
rgba(248, 64, 24 0.60) 65%,
rgba(248, 64, 24 0.25) 100%,
);
gradientTransform
有它的作用,但我不确定是什么,也不知道如何在我的CSS样式中复制它。