HTML5 <svg> question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

HTML5 <svg> question

is it possible to add multiple SVG elements like circles, rects, lines, .. in the same SVG container and define <animate> for each?

31st Jul 2017, 3:46 PM
Millo
Millo - avatar
4 Answers
+ 5
Yes, obviously you can ^^ Provide your code attempts for getting more accurate help ;P
2nd Aug 2017, 1:27 AM
visph
visph - avatar
+ 1
try it and you'll see😉
31st Jul 2017, 4:00 PM
Вап
+ 1
I tried and it appears one SVG is to one element. I am trying to learn if there is a way...
31st Jul 2017, 5:21 PM
Millo
Millo - avatar
0
why you need one container? why not 2,3,etc?
31st Jul 2017, 5:39 PM
Вап