<?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns= "http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink" version="1.1" width="200" height="100"> <line x1="20" y1="20" x2="180" y2="90" style="stroke: blue; stroke-width: 6;"> <animate attributeType="CSS" attributeName="stroke-width" from="6" to="12" begin="1s" dur="2s" fill="freeze"/> </line> </svg>