SVG

  1. SVG Shapes
    1.矩形 <rect>

       <rect x="50" y="20" width="150" height="150" style="fill:red;stroke:black;stroke-width:5;opacity:0.5"/>
       
       
    
  2. <circle>

<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/>
  1. <line>

<line x1="0" y1="0" x2="200" y2="200"
  style="stroke:rgb(255,0,0);stroke-width:2"/>
    原文作者:93回忆录
    原文地址: https://segmentfault.com/a/1190000005949977
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞