Got some problem with the rectangle it ain't displaying | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Got some problem with the rectangle it ain't displaying

9th Aug 2016, 4:44 PM
Mitchel Ralph
Mitchel Ralph - avatar
2 Answers
0
_use this code inside <header> tag: <svg width="put a number" height="put a number"> <rect width="put a number" height="put a number" fill="put a color name"> </rect> </svg> _to make the rectangle animated put this code after rect tag: <animate attributename="x" from="put a number" to="put a number" dur="xs"fill="freeze" repeatcount="put a number"/>
10th Aug 2016, 8:31 AM
Mahdi
Mahdi - avatar
0
instead of x in "dur" also put a number for example 3s
10th Aug 2016, 8:36 AM
Mahdi
Mahdi - avatar