1、透明度与线条样式
<style>polyline{stroke: blueviolet;stroke-width: 10px;stroke-opacity: 0.5;/* 边框透明度 */fill-opacity: 0.3;/* 填充透明度 */stroke-linecap: round;/* 两端变圆 */stroke-linejoin: round;/* 两条线相交的地方的图形变化 */}</style></head><body><svg width="500px" height="300px" style="border: 1px solid"><polyline points="0 0,50 50,50 100,100 100,100 50"></polyline><text x="300" y="50">邓哥身体好</text></svg></body>
