+ 2

what am I missing to keep the squares moving from one side to the other?

<svg width="1000" height="250"> <rect width="150" height="150" fill="orange"> <animate attributeName="x" from="0" to="250" dur="3s"/> <animate attributeName="x" from="250" to="0" dur="3s"/> </rect> </svg>

26th Sep 2017, 11:01 AM
Lucian I. Bodnar
Lucian I. Bodnar - avatar
5 Answers
+ 2
Then add the reverse animation and dxo repeatCount as a whole
26th Sep 2017, 11:17 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
26th Sep 2017, 11:19 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 1
I want it to bounce, not reset the position
26th Sep 2017, 11:13 AM
Lucian I. Bodnar
Lucian I. Bodnar - avatar