svg之折线

**<!docType html>
<html>
    <head>
        <title>svg demo</title>
        <style>
            .polyline {
                fill:none;
                stroke: antiquewhite;
                stroke-width: 3
            }
        </style>
    </head>
    <body>
        <svg xmlns="http://www.w3.org/2000/svg" version="1.1" style="width:100%;height:500px">
            <!-- 
                曲线(polyline用于创建任何只有直线的形状)
             -->
             <polyline points="20,20 40,25 60,40 80,120 120,140 200,180" class="polyline"/>
        </svg> 
    </body>
</html>

猜你喜欢

转载自blog.csdn.net/weixin_40402681/article/details/85611049
SVG
今日推荐