mirror of
https://github.com/svg/svgo.git
synced 2026-01-25 18:41:39 +03:00
24 lines
754 B
Plaintext
24 lines
754 B
Plaintext
Convert both a one-stop gradient configured from attribute and styles.
|
|
|
|
===
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="744.09448" height="1052.3622">
|
|
<defs>
|
|
<linearGradient id="a">
|
|
<stop stop-color="#ddc4cc"/>
|
|
</linearGradient>
|
|
<linearGradient id="b">
|
|
<stop style="stop-color:#a8c4cc"/>
|
|
</linearGradient>
|
|
</defs>
|
|
<rect width="150" height="150" x="350" y="350" fill="url(#a)"/>
|
|
<rect width="150" height="150" x="50" y="350" style="fill:url(#b)"/>
|
|
</svg>
|
|
|
|
@@@
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="744.09448" height="1052.3622">
|
|
<rect width="150" height="150" x="350" y="350" fill="#ddc4cc"/>
|
|
<rect width="150" height="150" x="50" y="350" style="fill:#a8c4cc"/>
|
|
</svg>
|