SOURCE

console 命令行工具 X clear

                    
>
console
<svg id="svgForStroke" width="400" height="200" xmlns="http://www.w3.org/2000/svg">
    <path d="M250 150 L150 350 L350 350 Z" />
     
  <line fill="none" stroke="#000000" stroke-width="2" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="round" x1="0" y1="90" x2="400" y2="90"/>
</svg>
line{
    stroke-dasharray: 1000;
    stroke-dashoffset: 900;
}