How i can do that a second animation with the same Square? (HTML) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How i can do that a second animation with the same Square? (HTML)

What I want to do is that the same blue square from the position where it was left at the end of the first animation, moves from the strings "y = 0" to "y = 250"; but I don't know how to do it, help please My code: <svg width="1000" height="300"> <rect width="150" height="150" fill="blue"> <animate attributeName="x" from="50" to="300" dur="2s" fill="freeze" /> </rect> </svg>

17th Jan 2020, 6:32 PM
AlexRos
AlexRos - avatar
9 Answers
17th Jan 2020, 6:52 PM
Kevin ★
17th Jan 2020, 7:03 PM
Kevin ★
+ 4
No hay problema😀
17th Jan 2020, 7:07 PM
Kevin ★
17th Jan 2020, 6:43 PM
BroFar
BroFar - avatar
+ 3
ok look at the remake AlexRos
17th Jan 2020, 6:58 PM
BroFar
BroFar - avatar
+ 2
BroFar , Thanks for trying to help but what I mean is that I want to make the first animation and then go down and in the code that you sent me it does everything diagonally at the same time.
17th Jan 2020, 6:47 PM
AlexRos
AlexRos - avatar
+ 2
Contra si hablas español jajajjajaja
17th Jan 2020, 7:08 PM
AlexRos
AlexRos - avatar
+ 1
Kevin Star thanks!!!!!! in HTML course don’t teaches the atribute begin or at least untill i do (Almost complete)
17th Jan 2020, 6:56 PM
AlexRos
AlexRos - avatar
+ 1
Thanks!!! Kevin Star other time
17th Jan 2020, 7:04 PM
AlexRos
AlexRos - avatar