How can i write something in the moving animation? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can i write something in the moving animation?

all of us like moving things and hence I want to k ow how to type something inside this animation, which would seem like it is inside the rectangle square or anything it might be.

24th Dec 2017, 4:36 PM
JustProgrammer
JustProgrammer - avatar
1 Answer
+ 2
I wish you helped us with the code, but anyway. You can use <text>Write something</text> tags inside the svg element. Here is an example: <text x="102" y="185" fill="red" stroke="blue" stroke-width="2" style="font-size:50px; font-weight:900">SVG</text>
24th Dec 2017, 5:19 PM
Ledio Deda
Ledio Deda - avatar