blob: 5d0be057f1abf30fecfe89b9f89b3b9c6c87bee9 (
plain)
1
2
3
4
5
6
|
<svg xmlns='http://www.w3.org/2000/svg'>
<rect width='100' height='100'>
<animateColor attributeName="fill" from='#DD0000' by='#0000DD' dur='3s' fill='freeze' />
</rect>
<text x='10' y='120'>The rect should animate from red to purple over 3 seconds</text>
</svg>
|