SVG stroke-dasharray 、stroke-dashoffset
stroke-dasharraystroke-dasharray用来绘制路径虚线。可以有一个或者多个参数,下面看一下它在不同参数下的效果。1.不添加stroke-dasharray属性#rect { stroke-width: 6px; fill: yellow; stroke: red; /*stroke-dasharrry:10;*/}<svg height="100"...
原创
2019-05-27 17:37:25 ·
3136 阅读 ·
2 评论