+ 4
How can i make a flag animate with HTML?
I made a flag (Bangladesh) but i cant animate the circle inside the rectangle. Tell me a way to animate the circle. TIA
10 Respostas
+ 20
hey @Jakaria Ridoy :) please send an code link đđ
+ 20
okay :) so , what you want ( of animation ) đđ
+ 6
You're probably looking for <animate> tag? It's explained in HTML course. Or you can make animations with CSS.
+ 5
Well the circle and rectangle are two totaly unconnected parts here so you must move the rect and then apply the same moves to the circle.
+ 5
Just put a bigger from and to attribute, something like 95 to 395. If the difference between rect's from and to is 300, then the difference between circle's from and to should also be 300 so it stays in the middle.
+ 3
https://code.sololearn.com/W8HryMk4WHkh/#html
#My_Source_Code
+ 3
I want to move the inner circle go to right with the rectangle and advance i want to make the flag wave ! TIA
+ 3
Tim Thuma I know that but I can move only the rectangle not the circle along with the rectangleđ
+ 3
updated the code but circle doesn't stay in middle?
+ 2
awesome đ thanks Tim Thuma