Create a SVG animated rectangle
A simple example of creating a SVG animated rectangle.
123456789101112131415161718192021<!DOCTYPE HTML>body {margin: 0px;padding: 0px;}height="500" width="500"id="rec" x="100" y="100" width="300" height="100" style="fill:lime"attributeName="width" attributeType="XML" begin="0s" dur="2s" fill="freeze" from="100" to="300"attributeName="height" attributeType="XML" begin="2s" dur="4s" fill="freeze" from="100" to="300"