PK效果图

代码如下

<svg width="343px" height="165px" viewBox="0 0 686 330" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <g fill="none" fill-rule="evenodd" opacity="0.4" stroke-width="2">
        <g>
            <path d="M406,0 L20,0 Q0,0 0,20 L0,310 Q0,330 20,330 L280,330 L406,0" fill="red"></path>
        </g>
        <g transform="translate(686, 330) rotate(180)">
          <path d="M406,0 L20,0 Q0,0 0,20 L0,310 Q0,330 20,330 L280,330 L406,0" fill="blue"></path>
      </g>
    </g>
  </svg>
</body>

猜你喜欢

转载自blog.csdn.net/m0_37285193/article/details/116714453