+ 1
Can I insert text inside moving svg rectangles
<svg width="300" height="450"> <rect width="280" height="50" fill="green"> <animate attributeName="y" from="400" to="0" dur="7s" fill="freeze" repeatCount="2"/> </rect>
2 Answers
+ 1
I actually don't know if you can, but if you just want moving rectangles with text inside you could use html elements with css background or border have them move using keyframe and specify the text as you normally do with elements